removeReceiveApplyJoinGroupApprovalListener method Null safety

dynamic removeReceiveApplyJoinGroupApprovalListener(
  1. JMReceiveApplyJoinGroupApprovalListener callback
)

Implementation

removeReceiveApplyJoinGroupApprovalListener(
    JMReceiveApplyJoinGroupApprovalListener callback) {
  _eventHanders.receiveApplyJoinGroupApproval
      .removeWhere((cb) => cb == callback);
}