copyWith method

  1. @override
PollTypeQuiz copyWith({
  1. int? correctOptionId,
  2. FormattedText? explanation,
})
override

Implementation

@override
PollTypeQuiz copyWith({
  int? correctOptionId,
  FormattedText? explanation,
}) => PollTypeQuiz(
  correctOptionId: correctOptionId ?? this.correctOptionId,
  explanation: explanation ?? this.explanation,
);