clearStorage method

Future<void> clearStorage(
  1. bool keepSecretKey
)

Clears storage.

keepSecretKey will retain the Paillier secret key if true.

Implementation

Future<void> clearStorage(bool keepSecretKey) async {
  await _postMessage('clearStorage', [keepSecretKey]);
}