SimpleCacheEntry<T> class
- Implemented types
-
- CacheEntry<
T>
- CacheEntry<
Constructors
-
SimpleCacheEntry({required LocalStoreCacheMixIn cache, required String path, required String? name, required bool isPersistent, required Duration? maxAge, required CacheFromJson<
T> fromJson, required CacheToJson<T> ? toJson})
Properties
- cache → LocalStoreCacheMixIn
-
final
-
fromJson
→ CacheFromJson<
T> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isPersistent → bool
-
final
- maxAge → Duration?
-
final
- name → String?
-
final
- path → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
toJson
→ CacheToJson<
T> ? -
final
Methods
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited