handleDelete method
Deletes note content correctly
Implementation
void handleDelete() async {
if (nm.id != null) NotesDatabaseService.db.deleteNoteInDB(nm);
Navigator.pop(context, true);
}
Deletes note content correctly
void handleDelete() async {
if (nm.id != null) NotesDatabaseService.db.deleteNoteInDB(nm);
Navigator.pop(context, true);
}