EventEmitter class
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
-
dispose()
→ void
-
Closes the stream (cleanup).
-
emit(EventType event, dynamic data)
→ void
-
Emits an event with the given name and data.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
off(EventType event, void listener(dynamic))
→ void
-
Stops listening to the events.
-
on(EventType event, void listener(dynamic))
→ void
-
Listens to specific events by name.
-
toString()
→ String
-
A string representation of this object.
inherited