closeDB method
Closes the current application database (if any).
Implementation
Future<void> closeDB() async {
if (_db != null) {
await _db!.close();
_db = null;
}
}
Closes the current application database (if any).
Future<void> closeDB() async {
if (_db != null) {
await _db!.close();
_db = null;
}
}