copyWithWrapped method
Implementation
QuestionItemOption copyWithWrapped({
Wrapped<int>? id,
Wrapped<String>? value,
Wrapped<int>? order,
Wrapped<bool>? isCorrect,
Wrapped<String?>? recommendation,
}) {
return QuestionItemOption(
id: (id != null ? id.value : this.id),
value: (value != null ? value.value : this.value),
order: (order != null ? order.value : this.order),
isCorrect: (isCorrect != null ? isCorrect.value : this.isCorrect),
recommendation: (recommendation != null
? recommendation.value
: this.recommendation),
);
}