nuke static method

void nuke()

Delete all objects from the store

Implementation

static void nuke() async {
  _hashStore.clear();
  if (persistent && hiveBox != null) {
    Box box = Hive.box(hiveBox!);
    if (box.isOpen) {
      await box.deleteAll(box.keys);
    }
  }
}