deleteNote static method

dynamic deleteNote(
  1. int id
)

Implementation

static deleteNote(int id)  {
  _database!.delete(
    'notes',
    where: '_id = ?',
    whereArgs: [id],
  );
}