copyWith method
TaskSolutionAnswersQuestionInputQuestionItem
copyWith({
- int? id,
- TaskSolutionAnswersQuestionInputQuestionItemType? type,
- TaskSolutionAnswersQuestionInputAnswer? answer,
- NullOnly? options,
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,
);
}