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