copyWith method

StudyOptionsState copyWith({
  1. double? chosenSpeed,
  2. bool? metronomeOn,
  3. bool? optionsOpen,
})

Implementation

StudyOptionsState copyWith({
  double? chosenSpeed,
  bool? metronomeOn,
  bool? optionsOpen,
}) => StudyOptionsState(
  chosenSpeed: chosenSpeed ?? this.chosenSpeed,
  metronomeOn: metronomeOn ?? this.metronomeOn,
  optionsOpen: optionsOpen ?? this.optionsOpen,
);