copyWith method

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

Implementation

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