copyWith method
Implementation
QuestionItemOption copyWith({
int? id,
String? value,
int? order,
bool? isCorrect,
String? recommendation,
}) {
return QuestionItemOption(
id: id ?? this.id,
value: value ?? this.value,
order: order ?? this.order,
isCorrect: isCorrect ?? this.isCorrect,
recommendation: recommendation ?? this.recommendation,
);
}