EventsListenable<T> class abstract

Implementers

Constructors

EventsListenable({required bool synchronized})

Properties

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

Methods

cancelAll() Future<void>
dispose() Future<bool>
inherited
listen(FutureOr<void> onEvent(T)) CancelListenFunc
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
on<E>(FutureOr<void> then(E), {bool filter(E)?}) CancelListenFunc
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>

Operators

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