notifyUserJoined method Null safety

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

Implementation

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