copyWith method
- List<
String> ? meters, - SightHandLimits? hand,
- double? errorsPerNote,
- int? maxErrorsPerMeasure,
- Set<
SightFeature> ? unlocked, - int? endlessLap,
Esta receita com o que o sem fim (T13) muda: as fórmulas de compasso, o que a mão alcança, os recursos liberados e a margem de erro. O resto fica como está.
Implementation
SightRecipe copyWith({
List<String>? meters,
SightHandLimits? hand,
double? errorsPerNote,
int? maxErrorsPerMeasure,
Set<SightFeature>? unlocked,
int? endlessLap,
}) => SightRecipe._(
focus: focus,
character: character,
bars: bars,
meters: meters == null ? this.meters : List.unmodifiable(meters),
keys: keys,
minorShare: minorShare,
rightRange: rightRange,
leftRange: leftRange,
figures: figures,
tuplets: tuplets,
harmony: harmony,
chordsPerBar: chordsPerBar,
rightTextures: rightTextures,
leftTextures: leftTextures,
ornaments: ornaments,
articulation: articulation,
dynamics: dynamics,
pedal: pedal,
registers: registers,
polyrhythm: polyrhythm,
devices: devices,
hand: hand ?? this.hand,
errorsPerNote: errorsPerNote ?? this.errorsPerNote,
maxErrorsPerMeasure: maxErrorsPerMeasure ?? this.maxErrorsPerMeasure,
unlocked: unlocked == null ? this.unlocked : Set.unmodifiable(unlocked),
focusFeatures: focusFeatures,
endlessLap: endlessLap ?? this.endlessLap,
);