copyWith method
- int? serial,
- int? tick,
- bool? noSound,
- AnswerMarks? answer,
- ChordMarks? chord,
- ReviewMarks? review,
- 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,
);