chordPlaySectionDone function

bool chordPlaySectionDone(
  1. Set<String> done,
  2. ChordPlayLayer layer,
  3. int? section
)

O trecho section da camada layer está feito: as suas etapas. null é a música inteira.

Implementation

bool chordPlaySectionDone(
  Set<String> done,
  ChordPlayLayer layer,
  int? section,
) => kChordPlayStages.every(
  (stage) => done.contains(chordPlayKeyOf(layer, section, stage)),
);