clear method

Future<void> clear()

Deletes the key and the installation ID: the next start is a new installation.

Implementation

Future<void> clear() async {
  await key.deleteKey();
  await _storage.delete(key: _installationIdKey, iOptions: _iosOptions);
  await _storage.delete(key: _stepUpReenrolKey, iOptions: _iosOptions);
}