KeepAsyncValue<T> class
abstract
A async value that is stored in Keeper.
This represents one or multiple keys that are accessed through the Keeper.
- Implementers
Constructors
- KeepAsyncValue(T value)
-
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ← T
-
Sets the value contained in the KeepAsyncValue.
no getter
Methods
-
get(
) → Future< T> - Gets the value contained in the KeepAsyncValue.
-
map<
R> ({required R data(T value), required R loading(), required R error(Object? error, StackTrace? stackTrace)}) → R - Maps the value contained in the KeepAsyncValue.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
set(
T value) → Future< void> - Sets the value contained in the KeepAsyncValue.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited