CachedMap<K, V> class

Constructors

CachedMap({int expirationInMillis = 1000 * 60 * 5, int maxSize = 1000})

Properties

cachedElements Map<K, CachedElement<V>>
getter/setter pair
expirationInMillis int
final
hashCode int
The hash code for this object.
no setterinherited
maxSize int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllPresent(List<K> keys) Map<K, V>
getIfPresent(K key) → V?
invalidate(K key) → dynamic
invalidateAll(List<K> keys) → dynamic
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
put(K key, V value) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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