deleteDatabase method
Implementation
Future<void> deleteDatabase() {
if (_db?.isOpen == true) throw Exception('DB is open, please close first');
return sql.deleteDatabase(_db!.path);
}
Future<void> deleteDatabase() {
if (_db?.isOpen == true) throw Exception('DB is open, please close first');
return sql.deleteDatabase(_db!.path);
}