secureDelete method

Future<void> secureDelete(
  1. String key
)

Delete a secure storage entry

Implementation

Future<void> secureDelete(String key) async {
  try {
    await methodChannel.invokeMethod<void>('secureDelete', {'key': key});
  } on PlatformException catch (e) {
    throw MCPSecureStorageException(
        'Failed to delete secure value: ${e.message}', e.details);
  }
}