EventsListener<T> class

Inheritance

Constructors

EventsListener(EventsEmitter<T> emitter, {bool synchronized = false})

Properties

disposeFuncCount int
read-onlyinherited
emitter EventsEmitter<T>
final
hashCode int
The hash code for this object.
read-onlyinherited
isDisposed bool
read-onlyinherited
listeners List<StreamSubscription<T>>
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
synchronized bool
finalinherited

Methods

cancelAll() Future<void>
inherited
dispose() Future<bool>
inherited
listen(FutureOr<void> onEvent(T)) CancelListenFunc
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on<E>(FutureOr<void> then(E), {bool filter(E)?}) CancelListenFunc
inherited
onDispose(OnDisposeFunc func) → void
inherited
toString() String
A string representation of this object.
inherited
waitFor<E>({required Duration duration, bool filter(E)?, FutureOr<E> onTimeout()?}) Future<E>
inherited

Operators

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