removeReceiveGroupAdminApprovalListener method Null safety

dynamic removeReceiveGroupAdminApprovalListener(
  1. JMReceiveGroupAdminApprovalListener callback
)

Implementation

removeReceiveGroupAdminApprovalListener(
    JMReceiveGroupAdminApprovalListener callback) {
  _eventHanders.receiveGroupAdminApproval.removeWhere((cb) => cb == callback);
}