NoteModel class
Constructors
- NoteModel({required String name, required int octave, required int noteIndex, required bool isFlat})
-
const
- NoteModel.fromJson(String source)
-
factory
-
NoteModel.fromMap(Map<
String, dynamic> map) -
factory
- NoteModel.fromMidiNoteNumber(int midiNoteNumber, NoteType noteType)
-
factory
Properties
Methods
-
copyWith(
{String? name, int? octave, int? noteIndex, bool? isFlat}) → NoteModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant NoteModel other) → bool -
The equality operator.
override
Static Properties
-
naturalMIDINoteNumbersList
↔ List<
int> -
getter/setter pair
-
naturalMIDINoteNumbersMap
↔ Map<
String, int> -
getter/setter pair