notifyUserBanned method Null safety

void notifyUserBanned(
  1. BaseChannel channel,
  2. User user
)

Implementation

void notifyUserBanned(BaseChannel channel, User user) {
  _channelHandlers.values.forEach((element) {
    element.onUserBanned(channel, user);
  });
}