Stores value under key, all or nothing.
value
key
@override Future<void> write(String key, String value) => update(key, (String? _) => value);