copyWithWrapped method

WebApiModulesAgentScheduleBarCodeReservationResource copyWithWrapped({
  1. Wrapped<String?>? name,
  2. Wrapped<String?>? id,
  3. Wrapped<String?>? backColor,
  4. Wrapped<String?>? leftBarColor,
  5. Wrapped<String?>? orderItemId,
  6. Wrapped<String?>? barCode,
  7. Wrapped<String?>? serialNumber,
  8. Wrapped<String?>? rfid,
  9. Wrapped<String?>? trackedBy,
  10. Wrapped<String?>? rentalItemId,
  11. Wrapped<String?>? frozen,
  12. Wrapped<bool?>? qcRequired,
  13. Wrapped<String?>? qcRequiredColor,
  14. Wrapped<String?>? inventoryId,
  15. Wrapped<String?>? warehouseId,
  16. Wrapped<String?>? consignor,
  17. Wrapped<List<WebApiModulesAgentScheduleBarCodeReservationResource>?>? children,
})

Implementation

WebApiModulesAgentScheduleBarCodeReservationResource copyWithWrapped({
  Wrapped<String?>? name,
  Wrapped<String?>? id,
  Wrapped<String?>? backColor,
  Wrapped<String?>? leftBarColor,
  Wrapped<String?>? orderItemId,
  Wrapped<String?>? barCode,
  Wrapped<String?>? serialNumber,
  Wrapped<String?>? rfid,
  Wrapped<String?>? trackedBy,
  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),
    serialNumber: (serialNumber != null
        ? serialNumber.value
        : this.serialNumber),
    rfid: (rfid != null ? rfid.value : this.rfid),
    trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
    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),
  );
}