AsyncComputed<T> class
- Inheritance
-
- Object
- Atom<
AsyncValue< T> > - AsyncComputed
Constructors
-
AsyncComputed(Future<
T> computeFn(WatchFn watch), {DisposePolicy disposePolicy = DisposePolicy.keepAlive})
Properties
-
computeFn
→ Future<
T> Function(WatchFn watch) -
final
- disposePolicy → DisposePolicy
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Object
-
用于依赖追踪的键
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
accept<
R> (AtomVisitor< R> visitor) → R -
override
-
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