SimpleCacheEntry<T> class

Implemented types

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

delete() Future<void>
override
get() Future<T?>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
set(T value, {Duration? maxAge}) Future<T>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited