Cache class

Storage for arbitrary assets.

Constructors

Cache()

Properties

hashCode → int
The hash code for this object.
no setterinherited
keys → Iterable<String>
no setter
length → int
no setter
onChanged → Signal0
Emitted whenever the cache is modified.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

add<T>(String key, T value) → void
clear() → void
contains(String key) → bool
evict(String key) → bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
retrieve<T>(String key) → T
toString() → String
A string representation of this object.
inherited

Operators

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