menu- cacher package
- documentation
- cacher.dart
- Cache<S extends Storage<C, K, V>, C extends CacheEntry<K, V>, K extends Comparable, V extends Object?> class
Cache<S extends Storage<C, K, V>, C extends CacheEntry<K, V>, K extends Comparable, V extends Object?> class
Cache<S extends Storage<C, K, V>, C extends CacheEntry<K, V>, K extends Comparable, V extends Object?> class
abstract
Methods
-
clear()
→ void
-
remove all the entry inside the cache
-
containsKey(K key)
→ bool
-
-
get(K key)
→ V?
-
return the element identify by
key
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(K key)
→ V?
-
-
set(K key, V element, {Duration? expiration})
→ Cache<S, C, K, V>
-
add
element
in the cache at key
-
toString()
→ String
-
A string representation of this object.
inherited