copyWith method
FoOptionModel
copyWith({
- FoQuizModel? child,
- String? label,
- int? score,
- bool? selected,
- Object? value,
Implementation
FoOptionModel copyWith({
FoQuizModel? child,
String? label,
int? score,
bool? selected,
Object? value,
}) {
return FoOptionModel(
child: child ?? this.child,
label: label ?? this.label,
score: score ?? this.score,
selected: selected ?? this.selected,
value: value ?? this.value,
);
}