putEntry method
Puts a cache entry identified by key on the named cache CacheStore. The value is overriden if already exists or
added if it does not exists.
name: The cache namekey: The cache keyentry: The cache entry
Implementation
@override
Future<void> putEntry(String name, String key, CacheEntry entry) {
if (!_store.containsKey(name)) {
_store[name] = {};
}
_cacheStore(name)[key] = entry;
return Future.value();
}