Measure constructor

Measure({
  1. required List<Note> notes,
  2. bool repeatStart = false,
  3. bool repeatEnd = false,
  4. Chord? chord,
})

Implementation

Measure(
    {required this.notes,
    this.repeatStart = false,
    this.repeatEnd = false,
    this.chord}) {
  assert(notes.every((note) => note.timing != Timing.unspecified));
}