updateCache<T> method
Implementation
void updateCache<T>(
String key,
T Function(T?) updater, {
List<String>? tags,
bool emitEvent = true,
}) {
_cacheMutator.updateCacheBySingleKey<T>(
key,
updater(_cacheStorage.getValue(key)),
tags: tags,
emitEvent: emitEvent,
);
}