eventNames method

List<String> eventNames()

@returns An array listing the events for which the emitter has registered listeners.

Implementation

List<String> eventNames() {
  return _listeners.keys.toList();
}