NotifierSnapshot<T> class
A snapshot of the AsyncNotifier.
Constructors
-
NotifierSnapshot(T? curr, AsyncValue<
T> ? currSnapshot, Future<T> currFuture)
Properties
- curr → T?
-
The current value. It is null, if the future is not completed.
Shorthand for
currSnapshot.data
.final -
currFuture
→ Future<
T> -
The current future.
final
-
currSnapshot
→ AsyncValue<
T> ? -
The current snapshot.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited