deleteById method

Future<int> deleteById(
  1. int noteId
)

Implementation

Future<int> deleteById(int noteId) async {
  return await (db.delete(db.note)..where((e) => e.id.equals(noteId))).go();
}