write method

  1. @override
Future<void> write({
  1. required String key,
  2. required String value,
  3. required Map<String, String> options,
})
override

Writes a key-value pair to secure storage.

Parameters:

  • key: The key to identify the stored value.
  • value: The value to store.
  • options: A map of platform-specific options for the write operation.

Returns:

  • A Future that completes when the write operation finishes.

Implementation

@override
Future<void> write({
  required String key,
  required String value,
  required Map<String, String> options,
}) async => data[key] = value;