remove method

Future<void> remove(
  1. String key
)

Delete a specific key

Implementation

Future<void> remove(String key) async {
  _checkInit();
  try {
    await _withRetry(() async {
      await _secureStorage.delete(key: key);
      _removeFromCache(key);
    });
  } catch (e) {
    throw SecureStorageException('Failed to remove key: $key', e);
  }
}