CacheDescription class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignoreSave → bool
-
this tell the cache client to only fetch from cache and to ignore saving to cache
final
- invalidateCache → bool
-
expire cache data
final
- key → String
-
no setter
- lifeSpan → int
-
time in seconds, defaults to
120
secondsfinal - overrideTime → bool
-
ignore cache expiration time
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{int? lifeSpan, bool? overrideTime, bool? invalidateCache, bool? ignoreSave}) → CacheDescription -
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