removeListener method

void removeListener(
  1. EventListener<Event> listener
)

Implementation

void removeListener(EventListener listener) {
  var type = listener.getType();
  eventListeners[type]!.remove(listener);
}