notifyUserLeaved method Null safety

void notifyUserLeaved(
  1. GroupChannel channel,
  2. User user
)

Implementation

void notifyUserLeaved(GroupChannel channel, User user) {
  _channelHandlers.values.forEach((element) {
    element.onUserLeaved(channel, user);
  });
}