copy method
SelectionItemOptionModel
copy({
- String? id,
- String? itemId,
- String? label,
- Iterable<
SelectionElementModel> ? selections, - DateTime? updatedAt,
- DateTime? createdAt,
override
Implementation
@override
SelectionItemOptionModel copy({
String? id,
String? itemId,
String? label,
Iterable<SelectionElementModel>? selections,
DateTime? updatedAt,
DateTime? createdAt,
}) {
return SelectionItemOptionModel(
id: id ?? this.id,
itemId: itemId ?? this.itemId,
label: label ?? this.label,
updatedAt: updatedAt ?? this.updatedAt,
createdAt: createdAt ?? this.createdAt,
selections: selections ?? this.selections,
);
}