copyWithWrapped method

TaskSolutionAnswersItem copyWithWrapped({
  1. Wrapped? answer,
  2. Wrapped<TaskSolutionAnswersQuestion>? question,
})

Implementation

TaskSolutionAnswersItem copyWithWrapped({
  Wrapped<dynamic>? answer,
  Wrapped<TaskSolutionAnswersQuestion>? question,
}) {
  return TaskSolutionAnswersItem(
    answer: (answer != null ? answer.value : this.answer),
    question: (question != null ? question.value : this.question),
  );
}