containsKey method

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

Checks whether a key exists in secure storage.

Parameters:

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

Returns:

  • A Future that resolves to true if the key exists, or false otherwise.

Implementation

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