deleteBean method
Implementation
Future deleteBean(Bean bean) async {
Database db = await this.db;
try {
return await db
.delete(this.tableName, where: "_id=?", whereArgs: [bean.identifier]);
} catch (e) {
await this.close();
throw new Exception(e);
}
}