notifyInvitationReceived method Null safety

void notifyInvitationReceived(
  1. GroupChannel channel,
  2. List<User> invitees,
  3. User? inviter
)

Implementation

void notifyInvitationReceived(
  GroupChannel channel,
  List<User> invitees,
  User? inviter,
) {
  _channelHandlers.values.forEach((element) {
    element.onUserReceivedInvitation(channel, invitees, inviter);
  });
}