removeReceiveGroupAdminRejectListener method Null safety

dynamic removeReceiveGroupAdminRejectListener(
  1. JMReceiveGroupAdminRejectListener callback
)

Implementation

removeReceiveGroupAdminRejectListener(
    JMReceiveGroupAdminRejectListener callback) {
  _eventHanders.receiveGroupAdminReject.removeWhere((cb) => cb == callback);
}