copyWith method

QuestionState copyWith({
  1. int? serial,
  2. int? tick,
  3. bool? noSound,
  4. AnswerMarks? answer,
  5. ChordMarks? chord,
  6. ReviewMarks? review,
  7. ScoreMarks? score,
})

Implementation

QuestionState copyWith({
  int? serial,
  int? tick,
  bool? noSound,
  AnswerMarks? answer,
  ChordMarks? chord,
  ReviewMarks? review,
  ScoreMarks? score,
}) => QuestionState(
  serial: serial ?? this.serial,
  tick: tick ?? this.tick,
  noSound: noSound ?? this.noSound,
  answer: answer ?? this.answer,
  chord: chord ?? this.chord,
  review: review ?? this.review,
  score: score ?? this.score,
);