wipeAllPersistentStorage static method

Future<void> wipeAllPersistentStorage()

Wipes all public / encrypted / keychain storage. Destructive — only used when resetDeviceStorage is set or when capturing an empty baseline.

Implementation

static Future<void> wipeAllPersistentStorage() async {
  final storage = StorageManager();
  await AppSessionSnapshot.clearPersistentStorage(storage);
}