NoteModel.fromMap constructor
Implementation
factory NoteModel.fromMap(Map<String, dynamic> map) {
return NoteModel(
name: map['name'] as String,
octave: map['octave'] as int,
noteIndex: map['noteIndex'] as int,
isFlat: map['isFlat'] as bool,
);
}