copyWith method
WebApiModulesAgentOrderItemInsertOptionRequest
copyWith({
- String? orderId,
- String? parentOrderItemId,
- List<
WebApiModulesAgentOrderItemCompleteKitOption> ? items,
Implementation
WebApiModulesAgentOrderItemInsertOptionRequest copyWith({
String? orderId,
String? parentOrderItemId,
List<WebApiModulesAgentOrderItemCompleteKitOption>? items,
}) {
return WebApiModulesAgentOrderItemInsertOptionRequest(
orderId: orderId ?? this.orderId,
parentOrderItemId: parentOrderItemId ?? this.parentOrderItemId,
items: items ?? this.items,
);
}