Future<int> deleteNote(Note note) async { final db = await createDatabase; return await db.delete('Note', where: 'id = ?', whereArgs: [note.id]); }