unregister method

void unregister(
  1. String eventName,
  2. ITUINotificationCallback? callback
)

Implementation

void unregister(String eventName, ITUINotificationCallback? callback) {
  if (eventName != null && callback != null) {
    var list = _messageQueue[eventName];
    if (list != null) {
      list.remove(callback);
    }
  }
}