notifyUserEntered method Null safety

void notifyUserEntered(
  1. OpenChannel channel,
  2. User user
)

Implementation

void notifyUserEntered(OpenChannel channel, User user) {
  _channelHandlers.values.forEach((element) {
    element.onUserEntered(channel, user);
  });
}