CacheItem<S extends Serializable> class
Constructors
- CacheItem({required Serializable value, bool log = true})
Properties
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>