copyWithWrapped method
TaskSolutionAnswersQuestionInputNumberQuestionItem
copyWithWrapped({
- Wrapped<
int> ? id, - Wrapped<
TaskSolutionAnswersQuestionInputNumberQuestionItemType> ? type, - Wrapped<
TaskSolutionAnswersQuestionInputNumberAnswer?> ? answer, - Wrapped<
NullOnly?> ? options,
Implementation
TaskSolutionAnswersQuestionInputNumberQuestionItem copyWithWrapped({
Wrapped<int>? id,
Wrapped<enums.TaskSolutionAnswersQuestionInputNumberQuestionItemType>? type,
Wrapped<TaskSolutionAnswersQuestionInputNumberAnswer?>? answer,
Wrapped<enums.NullOnly?>? options,
}) {
return TaskSolutionAnswersQuestionInputNumberQuestionItem(
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),
);
}