courseUseOf method

  1. @override
CourseUse? courseUseOf(
  1. ExerciseRound round
)
override

As notas da rodada viram play-notes com a lista fixa (issue 4, TI04).

Implementation

@override
CourseUse? courseUseOf(ExerciseRound round) {
  if (round is! ScoreRound || _notes.isEmpty) return null;
  final step = _step;
  return playNotesCourseUse(
    head: (
      id: 'notas-${step.name}',
      title: title,
      accuracy: slipAccuracy(_notes.length, kStaffNotesSlips),
    ),
    clef: step.how.clef,
    key: step.how.key,
    notes: _notes,
  );
}