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