CacheWrapper<T> class

Constructors

CacheWrapper(T data, int cachedDate)
CacheWrapper.fromMap(dynamic json)

Properties

cachedDate int
final
data → T
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

expired(int ttlValue, {bool ignoreTtl = false}) bool
expireIn(int ttlValue) int
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map
toString() String
A string representation of this object.
override

Operators

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