removeMessageRetractListener method Null safety

dynamic removeMessageRetractListener(
  1. JMMessageRetractListener callback
)

Implementation

removeMessageRetractListener(JMMessageRetractListener callback) {
  _eventHanders.retractMessage.removeWhere((cb) => cb == callback);
}