DummyCache
class
class DummyCache implements Cache {
const DummyCache();
put(key, val) => null;
putIfAbsent(key, val()) => new Future.value(val());
getEntry(key) => null;
get(key) => null;
clear(){}
}
Implements
Cache
Constructors
const DummyCache() #
Creates a new Object instance.
Object instances have no meaningful state, and are only useful
through their identity. An Object instance is equal to itself
only.
const DummyCache();
Methods
dynamic getEntry(key) #
dynamic put(key, val) #
dynamic putIfAbsent(key, val()) #
putIfAbsent(key, val()) => new Future.value(val());