getAllNotes static method
dynamic
getAllNotes()
Implementation
static getAllNotes() async {
var row = await _database!.query('notes');
List<Note> notes = row.map((json) => Note.fromJson(json)).toList();
return notes;
}