updateValue method
Update or replace value by key
directly in the storage.
Implementation
Future<void> updateValue(K key, V? Function(V? value) changeValue,
{bool notifyOnNull = false}) =>
_ensureResource(key)
.then((r) => r.updateValue(changeValue, notifyOnNull: notifyOnNull));