remove method Null safety

Future<void> remove()

Removes the database from the disk

WARNING!!! All data will be lost.

Implementation

Future<void> remove() async {
  if (isReady) {
    await close();
    await _dbFactory.deleteDatabase(path);
  }
}