copyWithWrapped method
WebApiModulesAgentScheduleBarCodeReservationResource
copyWithWrapped({
- Wrapped<
String?> ? name, - Wrapped<
String?> ? id, - Wrapped<
String?> ? backColor, - Wrapped<
String?> ? leftBarColor, - Wrapped<
String?> ? orderItemId, - Wrapped<
String?> ? barCode, - Wrapped<
String?> ? rentalItemId, - Wrapped<
String?> ? frozen, - Wrapped<
bool?> ? qcRequired, - Wrapped<
String?> ? qcRequiredColor, - Wrapped<
String?> ? inventoryId, - Wrapped<
String?> ? warehouseId, - Wrapped<
String?> ? consignor, - Wrapped<
List< ? children,WebApiModulesAgentScheduleBarCodeReservationResource> ?>
Implementation
WebApiModulesAgentScheduleBarCodeReservationResource copyWithWrapped(
{Wrapped<String?>? name,
Wrapped<String?>? id,
Wrapped<String?>? backColor,
Wrapped<String?>? leftBarColor,
Wrapped<String?>? orderItemId,
Wrapped<String?>? barCode,
Wrapped<String?>? rentalItemId,
Wrapped<String?>? frozen,
Wrapped<bool?>? qcRequired,
Wrapped<String?>? qcRequiredColor,
Wrapped<String?>? inventoryId,
Wrapped<String?>? warehouseId,
Wrapped<String?>? consignor,
Wrapped<List<WebApiModulesAgentScheduleBarCodeReservationResource>?>?
children}) {
return WebApiModulesAgentScheduleBarCodeReservationResource(
name: (name != null ? name.value : this.name),
id: (id != null ? id.value : this.id),
backColor: (backColor != null ? backColor.value : this.backColor),
leftBarColor:
(leftBarColor != null ? leftBarColor.value : this.leftBarColor),
orderItemId:
(orderItemId != null ? orderItemId.value : this.orderItemId),
barCode: (barCode != null ? barCode.value : this.barCode),
rentalItemId:
(rentalItemId != null ? rentalItemId.value : this.rentalItemId),
frozen: (frozen != null ? frozen.value : this.frozen),
qcRequired: (qcRequired != null ? qcRequired.value : this.qcRequired),
qcRequiredColor: (qcRequiredColor != null
? qcRequiredColor.value
: this.qcRequiredColor),
inventoryId:
(inventoryId != null ? inventoryId.value : this.inventoryId),
warehouseId:
(warehouseId != null ? warehouseId.value : this.warehouseId),
consignor: (consignor != null ? consignor.value : this.consignor),
children: (children != null ? children.value : this.children));
}