copyWithWrapped method

WebApiModulesAgentScheduleBarCodeReservationEvent copyWithWrapped({
  1. Wrapped<String?>? inventoryId,
  2. Wrapped<String?>? warehouseId,
  3. Wrapped<String?>? start,
  4. Wrapped<String?>? end,
  5. Wrapped<String?>? estimatedStopDate,
  6. Wrapped<bool?>? late,
  7. Wrapped<bool?>? lateButReturning,
  8. Wrapped<String?>? startdisplay,
  9. Wrapped<String?>? enddisplay,
  10. Wrapped<String?>? text,
  11. Wrapped<String?>? backColor,
  12. Wrapped<String?>? barColor,
  13. Wrapped<String?>? textColor,
  14. Wrapped<String?>? id,
  15. Wrapped<String?>? resource,
  16. Wrapped<String?>? orderId,
  17. Wrapped<String?>? orderNumber,
  18. Wrapped<String?>? rentalItemId,
  19. Wrapped<String?>? orderItemId,
  20. Wrapped<String?>? barCode,
  21. Wrapped<bool?>? qcRequired,
  22. Wrapped<String?>? total,
  23. Wrapped<String?>? qtyTotal,
  24. Wrapped<String?>? qtyIn,
  25. Wrapped<String?>? qtyStaged,
  26. Wrapped<String?>? qtyOut,
  27. Wrapped<String?>? qtyInRepair,
  28. Wrapped<String?>? qtyInTransit,
  29. Wrapped<String?>? qtyInContainer,
  30. Wrapped<String?>? qtyOnTruck,
  31. Wrapped<String?>? qtyOnPo,
  32. Wrapped<String?>? qtyQcRequired,
  33. Wrapped<String?>? qtyLate,
  34. Wrapped<String?>? qtyLateButReturning,
  35. Wrapped<String?>? rowType,
  36. Wrapped<String?>? consignor,
  37. Wrapped<String?>? consignorId,
  38. Wrapped<String?>? consignorAgreementNumber,
  39. Wrapped<String?>? consignorAgreementId,
})

Implementation

WebApiModulesAgentScheduleBarCodeReservationEvent copyWithWrapped({
  Wrapped<String?>? inventoryId,
  Wrapped<String?>? warehouseId,
  Wrapped<String?>? start,
  Wrapped<String?>? end,
  Wrapped<String?>? estimatedStopDate,
  Wrapped<bool?>? late,
  Wrapped<bool?>? lateButReturning,
  Wrapped<String?>? startdisplay,
  Wrapped<String?>? enddisplay,
  Wrapped<String?>? text,
  Wrapped<String?>? backColor,
  Wrapped<String?>? barColor,
  Wrapped<String?>? textColor,
  Wrapped<String?>? id,
  Wrapped<String?>? resource,
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? rentalItemId,
  Wrapped<String?>? orderItemId,
  Wrapped<String?>? barCode,
  Wrapped<bool?>? qcRequired,
  Wrapped<String?>? total,
  Wrapped<String?>? qtyTotal,
  Wrapped<String?>? qtyIn,
  Wrapped<String?>? qtyStaged,
  Wrapped<String?>? qtyOut,
  Wrapped<String?>? qtyInRepair,
  Wrapped<String?>? qtyInTransit,
  Wrapped<String?>? qtyInContainer,
  Wrapped<String?>? qtyOnTruck,
  Wrapped<String?>? qtyOnPo,
  Wrapped<String?>? qtyQcRequired,
  Wrapped<String?>? qtyLate,
  Wrapped<String?>? qtyLateButReturning,
  Wrapped<String?>? rowType,
  Wrapped<String?>? consignor,
  Wrapped<String?>? consignorId,
  Wrapped<String?>? consignorAgreementNumber,
  Wrapped<String?>? consignorAgreementId,
}) {
  return WebApiModulesAgentScheduleBarCodeReservationEvent(
    inventoryId: (inventoryId != null ? inventoryId.value : this.inventoryId),
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    start: (start != null ? start.value : this.start),
    end: (end != null ? end.value : this.end),
    estimatedStopDate: (estimatedStopDate != null
        ? estimatedStopDate.value
        : this.estimatedStopDate),
    late: (late != null ? late.value : this.late),
    lateButReturning: (lateButReturning != null
        ? lateButReturning.value
        : this.lateButReturning),
    startdisplay: (startdisplay != null
        ? startdisplay.value
        : this.startdisplay),
    enddisplay: (enddisplay != null ? enddisplay.value : this.enddisplay),
    text: (text != null ? text.value : this.text),
    backColor: (backColor != null ? backColor.value : this.backColor),
    barColor: (barColor != null ? barColor.value : this.barColor),
    textColor: (textColor != null ? textColor.value : this.textColor),
    id: (id != null ? id.value : this.id),
    resource: (resource != null ? resource.value : this.resource),
    orderId: (orderId != null ? orderId.value : this.orderId),
    orderNumber: (orderNumber != null ? orderNumber.value : this.orderNumber),
    rentalItemId: (rentalItemId != null
        ? rentalItemId.value
        : this.rentalItemId),
    orderItemId: (orderItemId != null ? orderItemId.value : this.orderItemId),
    barCode: (barCode != null ? barCode.value : this.barCode),
    qcRequired: (qcRequired != null ? qcRequired.value : this.qcRequired),
    total: (total != null ? total.value : this.total),
    qtyTotal: (qtyTotal != null ? qtyTotal.value : this.qtyTotal),
    qtyIn: (qtyIn != null ? qtyIn.value : this.qtyIn),
    qtyStaged: (qtyStaged != null ? qtyStaged.value : this.qtyStaged),
    qtyOut: (qtyOut != null ? qtyOut.value : this.qtyOut),
    qtyInRepair: (qtyInRepair != null ? qtyInRepair.value : this.qtyInRepair),
    qtyInTransit: (qtyInTransit != null
        ? qtyInTransit.value
        : this.qtyInTransit),
    qtyInContainer: (qtyInContainer != null
        ? qtyInContainer.value
        : this.qtyInContainer),
    qtyOnTruck: (qtyOnTruck != null ? qtyOnTruck.value : this.qtyOnTruck),
    qtyOnPo: (qtyOnPo != null ? qtyOnPo.value : this.qtyOnPo),
    qtyQcRequired: (qtyQcRequired != null
        ? qtyQcRequired.value
        : this.qtyQcRequired),
    qtyLate: (qtyLate != null ? qtyLate.value : this.qtyLate),
    qtyLateButReturning: (qtyLateButReturning != null
        ? qtyLateButReturning.value
        : this.qtyLateButReturning),
    rowType: (rowType != null ? rowType.value : this.rowType),
    consignor: (consignor != null ? consignor.value : this.consignor),
    consignorId: (consignorId != null ? consignorId.value : this.consignorId),
    consignorAgreementNumber: (consignorAgreementNumber != null
        ? consignorAgreementNumber.value
        : this.consignorAgreementNumber),
    consignorAgreementId: (consignorAgreementId != null
        ? consignorAgreementId.value
        : this.consignorAgreementId),
  );
}