update<T> static method
Changes a value based on its current value. ULocalStorage.update<int>("score", (v) => (v ?? 0) + 10)
Implementation
static Future<void> update<T>(String key, T? Function(T? current) transform) => _storeFor(key).update<T>(key, transform);