EventsEmitter<T> class

Inheritance

Constructors

EventsEmitter({bool listenSynchronized = false})

Properties

disposeFuncCount int
read-onlyinherited
emitter EventsEmitter<T>
read-onlyoverride
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
streamCtrl StreamController<T>
final
synchronized bool
finalinherited

Methods

cancelAll() Future<void>
inherited
dispose() Future<bool>
inherited
emit(T event) → void
emitQueued() → void
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
updateQueueMode(bool newValue, {bool shouldEmitQueued = true}) → void
waitFor<E>({required Duration duration, bool filter(E)?, FutureOr<E> onTimeout()?}) Future<E>
inherited

Operators

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