ProviderSubscription<OutT> class sealed Core

Represents the subscription to a ProviderListenable.

Annotations

Properties

closed bool
Whether the subscription is closed.
no setter
hashCode int
The hash code for this object.
no setterinherited
isPaused bool
Whether the subscription is paused.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weak bool
Whether the subscription maintains the provider state.
no setter

Methods

close() → void
Stops listening to the provider.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → void
Pauses the subscription.
read() → OutT
Obtain the latest value emitted by the provider.
resume() → void
Resumes the subscription.
toString() String
A string representation of this object.
inherited

Operators

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