Emitter<T> class

Implementers

Constructors

Emitter()

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, [T? data]) → void
hasListeners(String event) bool
listeners(String event) List<EventHandler<T>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
off(String event, [EventHandler<T>? handler]) → void
offAll() → void
on(String event, EventHandler<T> handler) → void
once(String event, EventHandler<T> handler) → void
toString() String
A string representation of this object.
override

Operators

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