removeMessageReceiptStatusChangelistener method Null safety

dynamic removeMessageReceiptStatusChangelistener(
  1. JMMessageReceiptStatusChangeListener callback
)

Implementation

removeMessageReceiptStatusChangelistener(
    JMMessageReceiptStatusChangeListener callback) {
  _eventHanders.receiveReceiptStatusChangeEvents
      .removeWhere((cb) => cb == callback);
}