copyWithWrapped method

WebApiServicesAvailabilityServiceTInventoryAvailabilityScheduleEvent 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?>? total,
  12. Wrapped<String?>? backColor,
  13. Wrapped<String?>? barColor,
  14. Wrapped<String?>? textColor,
  15. Wrapped<String?>? id,
  16. Wrapped<String?>? resource,
  17. Wrapped<String?>? orderId,
  18. Wrapped<String?>? orderNumber,
  19. Wrapped<String?>? orderType,
  20. Wrapped<String?>? orderStatus,
  21. Wrapped<String?>? orderDescription,
  22. Wrapped<String?>? deal,
  23. Wrapped<String?>? subPoNumber,
  24. Wrapped<String?>? subPoVendor,
  25. Wrapped<String?>? contractId,
  26. Wrapped<String?>? consignorId,
  27. Wrapped<String?>? consignor,
  28. Wrapped<String?>? consignorAgreementId,
  29. Wrapped<String?>? consignorAgreementNumber,
  30. Wrapped<bool?>? isWarehouseTotal,
  31. Wrapped<bool?>? isGrandTotal,
})

Implementation

WebApiServicesAvailabilityServiceTInventoryAvailabilityScheduleEvent
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?>? total,
  Wrapped<String?>? backColor,
  Wrapped<String?>? barColor,
  Wrapped<String?>? textColor,
  Wrapped<String?>? id,
  Wrapped<String?>? resource,
  Wrapped<String?>? orderId,
  Wrapped<String?>? orderNumber,
  Wrapped<String?>? orderType,
  Wrapped<String?>? orderStatus,
  Wrapped<String?>? orderDescription,
  Wrapped<String?>? deal,
  Wrapped<String?>? subPoNumber,
  Wrapped<String?>? subPoVendor,
  Wrapped<String?>? contractId,
  Wrapped<String?>? consignorId,
  Wrapped<String?>? consignor,
  Wrapped<String?>? consignorAgreementId,
  Wrapped<String?>? consignorAgreementNumber,
  Wrapped<bool?>? isWarehouseTotal,
  Wrapped<bool?>? isGrandTotal,
}) {
  return WebApiServicesAvailabilityServiceTInventoryAvailabilityScheduleEvent(
    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),
    total: (total != null ? total.value : this.total),
    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),
    orderType: (orderType != null ? orderType.value : this.orderType),
    orderStatus: (orderStatus != null ? orderStatus.value : this.orderStatus),
    orderDescription: (orderDescription != null
        ? orderDescription.value
        : this.orderDescription),
    deal: (deal != null ? deal.value : this.deal),
    subPoNumber: (subPoNumber != null ? subPoNumber.value : this.subPoNumber),
    subPoVendor: (subPoVendor != null ? subPoVendor.value : this.subPoVendor),
    contractId: (contractId != null ? contractId.value : this.contractId),
    consignorId: (consignorId != null ? consignorId.value : this.consignorId),
    consignor: (consignor != null ? consignor.value : this.consignor),
    consignorAgreementId: (consignorAgreementId != null
        ? consignorAgreementId.value
        : this.consignorAgreementId),
    consignorAgreementNumber: (consignorAgreementNumber != null
        ? consignorAgreementNumber.value
        : this.consignorAgreementNumber),
    isWarehouseTotal: (isWarehouseTotal != null
        ? isWarehouseTotal.value
        : this.isWarehouseTotal),
    isGrandTotal: (isGrandTotal != null
        ? isGrandTotal.value
        : this.isGrandTotal),
  );
}