withRecipe method

SightStep withRecipe(
  1. SightRecipe recipe, {
  2. int? bpm,
  3. List<SightEndlessSection>? sections,
})

Este passo com a receita recipe no lugar da dele (e, se vierem, o andamento bpm e os trechos sections do sem fim).

Implementation

SightStep withRecipe(
  SightRecipe recipe, {
  int? bpm,
  List<SightEndlessSection>? sections,
}) => SightStep(
  level: level,
  sub: sub,
  hands: hands,
  durations: durations,
  patterns: patterns,
  bpm: bpm ?? this.bpm,
  label: label,
  high: high,
  restChance: restChance,
  threeFour: threeFour,
  syncopated: syncopated,
  tonic: tonic,
  recipe: recipe,
  meter: meter,
  shortBars: shortBars,
  concertBpm: concertBpm,
  sections: sections ?? this.sections,
  layout: layout,
);