@returns An array listing the events for which the emitter has registered listeners.
List<String> eventNames() { return _listeners.keys.toList(); }