clear method

  1. @override
Future<void> clear()
override

Drop all data from this bundle's stores while keeping the underlying connections (Hive boxes etc.) open. Idempotent. Intended for cheap per-test isolation.

Implementation

@override
Future<void> clear() async {
  await primary.clear();
  await secondary.clear();
}