copyWith method

Implementation

TaskSolutionAnswersQuestionInputQuestionItem copyWith({
  int? id,
  enums.TaskSolutionAnswersQuestionInputQuestionItemType? type,
  TaskSolutionAnswersQuestionInputAnswer? answer,
  enums.NullOnly? options,
}) {
  return TaskSolutionAnswersQuestionInputQuestionItem(
    id: id ?? this.id,
    type: type ?? this.type,
    answer: answer ?? this.answer,
    options: options ?? this.options,
  );
}