deleteDatabase method

Future<void> deleteDatabase({
  1. String? pw,
})

Implementation

Future<void> deleteDatabase({String? pw}) async {
  await _ensureInit(pw: pw);
  await Hive.deleteFromDisk();
}