RefreshableComputedState<T> class
- Implemented types
- Mixed in types
- Implementers
Constructors
-
RefreshableComputedState({required ComputedStateValue<
T> value, required Future<void> refresh()}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
no setterinherited
-
refresh
→ Future<
void> Function() -
If value is ComputedStateValue.inProgress, waits for computation to complete.
Otherwise, starts a new computation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
value
→ ComputedStateValue<
T> -
final
- valueOrNull → T?
-
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