CacheObject<T> class

Classe che rappresenta l'oggetto nella cache

Constructors

CacheObject({required T obj, required Duration expireAfter})

Properties

expireAfter → Duration
final
hashCode → int
The hash code for this object.
no setterinherited
obj → T
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timestamp → DateTime
final

Methods

isExpired() → bool
Testa se l'oggetto è scaduto
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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