set method
Set value in cache, if the value is present it will be overwritten Returns true when element is overwritten otherwise false
Implementation
@override
bool set(K k, V v) {
final result = _cache.containsKey(k);
_cache[k] = _ManagedItem(
key: k,
value: v,
expireDuration: expireDuration,
onExpired: _expiredItem,
reloadDuration: reloadDuration,
onReload: _reloadItem,
);
return result;
}