removeListener method
Removes a listener, so that it no longer receives notifications for this event.
listener
the listener reference to remove.
Implementation
@override
void removeListener(IEventListener listener) {
var index = _listeners.indexOf(listener);
if (index > -1) _listeners.removeAt(index);
}