ValueCache<T> class
Used for caching calculated values, the cache is determined to be valid by comparing a list of values that can be of any type and is compared to the values that was last used when the cache was updated.
Constructors
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?
-
getter/setter pair
Methods
-
isCacheValid<
F> (List< F> validCacheValues) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateCache<
F> (T value, List< F> validCacheValues) → T
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited