Cache<T> class
Constructors
-
Cache(NullaryFutureOr<
T> generator)
Properties
-
generator
→ NullaryFutureOr<
T> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- ready ↔ bool
-
getter for the status of the
data
getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value ↔ T
-
stores data from generator
getter/setter pair
Methods
-
initialize(
) → Future< void> -
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