copyWith method
- ValueGetter<
int?> ? wrongPitch, - ValueGetter<
int?> ? wrongButton, - ValueGetter<
Uint8List?> ? wrongScore, - ValueGetter<
int?> ? explainedAt,
Implementation
AnswerMarks copyWith({
ValueGetter<int?>? wrongPitch,
ValueGetter<int?>? wrongButton,
ValueGetter<Uint8List?>? wrongScore,
ValueGetter<int?>? explainedAt,
}) => AnswerMarks(
wrongPitch: wrongPitch != null ? wrongPitch() : this.wrongPitch,
wrongButton: wrongButton != null ? wrongButton() : this.wrongButton,
wrongScore: wrongScore != null ? wrongScore() : this.wrongScore,
explainedAt: explainedAt != null ? explainedAt() : this.explainedAt,
);