EventEmitter class

EventEmitter class

Constructors

EventEmitter()

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

emit(String event, [dynamic data]) → void
Emits an event, calling all registered listeners.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
off(String event, dynamic listener(dynamic)) → void
Removes a listener for a specific event.
on(String event, dynamic listener(dynamic)) → void
Adds a listener for a specific event.
toString() String
A string representation of this object.
inherited

Operators

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