CacheItem<S extends Serializable> class

Constructors

CacheItem({required Serializable value, bool log = true})

Properties

cls Type
final
hashCode int
The hash code for this object.
no setterinherited
key String
no setter
log bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage ↔ GetStorage
latefinal
value Serializable
final

Methods

clear() → void
init(GetStorage storage, {bool resetMode = false}) CacheItem<Serializable>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read() → S
toString() String
A string representation of this object.
inherited
write() Future<void>

Operators

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

Static Methods

cache<S extends Serializable>(S s) CacheItem<S>