delete method

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

Deletes a key-value pair from secure storage.

Parameters:

  • key: The key to delete.
  • options: A map of platform-specific options for the delete operation.

Returns:

  • A Future that completes when the delete operation finishes.

Implementation

@override
Future<void> delete({
  required String key,
  required Map<String, String> options,
}) async => data.remove(key);