remove method Null safety
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);
}
}
Removes the database from the disk
WARNING!!! All data will be lost.
Future<void> remove() async {
if (isReady) {
await close();
await _dbFactory.deleteDatabase(path);
}
}