close method
Implementation
@override
bool close() {
if (!super.close()) return false;
var db = _database;
if (db != null) {
_database = null;
// Its prepared statements first (a handle with unfinalized statements
// isn't fully closed).
_statementsCache?.clear();
try {
db.close();
} catch (_) {}
}
return true;
}