deleteById method
Implementation
@override
Future<int> deleteById({required String id, Database? database}) async {
final Database db = database != null ? database : this.database;
await db.delete(this.entity.tableName, where: 'id = ?', whereArgs: [id]);
return 1;
}