delete method

Future<int> delete(
  1. int id
)

delete removes the row specified by the id. The number of affected rows is returned. This should be 1 as long as the row exists.

Implementation

Future<int> delete(int id) async {
  final T db = await this.database;
  return db.delete(kTable, where: '$kColumnId = ?', whereArgs: <int>[id]);
}