closeDatabase method
Implementation
Future<bool> closeDatabase() async {
try {
if(_database.isOpen){
await _database.close();
return true;
}
} catch (ex) {
Log.e("$_TAG: closeDatabase Exception: ", ex.toString());
}
return false;
}