copyWith method

Implementation

TaskSolutionAnswersQuestionOptionsQuestionItem copyWith({
  int? id,
  enums.TaskSolutionAnswersQuestionOptionsQuestionItemType? type,
  enums.NullOnly? answer,
  List<TaskSolutionAnswersQuestionOptionsItem>? options,
}) {
  return TaskSolutionAnswersQuestionOptionsQuestionItem(
    id: id ?? this.id,
    type: type ?? this.type,
    answer: answer ?? this.answer,
    options: options ?? this.options,
  );
}