write method
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;