copyWithWrapped method

Implementation

TaskSolutionAnswersQuestionOptionsQuestionItem copyWithWrapped({
  Wrapped<int>? id,
  Wrapped<enums.TaskSolutionAnswersQuestionOptionsQuestionItemType>? type,
  Wrapped<enums.NullOnly?>? answer,
  Wrapped<List<TaskSolutionAnswersQuestionOptionsItem>>? options,
}) {
  return TaskSolutionAnswersQuestionOptionsQuestionItem(
    id: (id != null ? id.value : this.id),
    type: (type != null ? type.value : this.type),
    answer: (answer != null ? answer.value : this.answer),
    options: (options != null ? options.value : this.options),
  );
}