ProviderSubscription<State> class
abstract
Represents the subscription to a ProviderListenable
- Annotations
Constructors
- ProviderSubscription(Node source)
- Represents the subscription to a ProviderListenable
Properties
- closed → bool
-
Whether the subscription is closed.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → Node
-
The object that listens to the associated ProviderListenable.
final
Methods
-
close(
) → void - Stops listening to the provider.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
) → State - Obtain the latest value emitted by the provider.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited