EventsListenable<T> class
abstract
- Implementers
Constructors
- EventsListenable({required bool synchronized})
Properties
- disposeFuncCount → int
-
read-onlyinherited
-
emitter
→ EventsEmitter<
T> -
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isDisposed → bool
-
read-onlyinherited
-
listeners
→ List<
StreamSubscription< T> > -
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- 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