copyWith method
TaskSolutionAnswersQuestionInputNumberQuestionItem
copyWith({
- int? id,
- TaskSolutionAnswersQuestionInputNumberQuestionItemType? type,
- TaskSolutionAnswersQuestionInputNumberAnswer? answer,
- NullOnly? options,
Implementation
TaskSolutionAnswersQuestionInputNumberQuestionItem copyWith({
int? id,
enums.TaskSolutionAnswersQuestionInputNumberQuestionItemType? type,
TaskSolutionAnswersQuestionInputNumberAnswer? answer,
enums.NullOnly? options,
}) {
return TaskSolutionAnswersQuestionInputNumberQuestionItem(
id: id ?? this.id,
type: type ?? this.type,
answer: answer ?? this.answer,
options: options ?? this.options,
);
}