KuzzleEventEmitter class

Implementers

Constructors

KuzzleEventEmitter()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addListener(String eventName, Function callback, {bool once = false}) → void
emit(String eventName, [List? positionalArguments, Map<Symbol, dynamic>? namedArguments]) bool
Call all listeners registered for eventName event
eventNames() List<String>
listenerCount(String eventName) int
listeners(String eventName) List<_KuzzleListener>?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
off(String eventName, Function callback) → void
on(String eventName, Function callback) → void
once(String eventName, Function callback) → void
prependListener(String eventName, Function callback, {bool once = false}) → void
removeAllListeners([String? eventName]) → void
removeListener(String eventName, Function callback) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited