close method
Closes the database.
Implementation
Future<void> close() async {
await changeListener.close();
final database = this.database;
if (database is sqflite.Database && database.isOpen) {
await database.close();
}
}
Closes the database.
Future<void> close() async {
await changeListener.close();
final database = this.database;
if (database is sqflite.Database && database.isOpen) {
await database.close();
}
}