copyWithWrapped method

WebApiModulesWarehouseExchangeExchangeItemStatus copyWithWrapped({
  1. Wrapped<String?>? inventoryId,
  2. Wrapped<String?>? iCode,
  3. Wrapped<String?>? availableFor,
  4. Wrapped<String?>? inventoryClass,
  5. Wrapped<String?>? description,
  6. Wrapped<String?>? warehouseId,
  7. Wrapped<String?>? warehouse,
  8. Wrapped<String?>? vendorId,
  9. Wrapped<String?>? vendor,
  10. Wrapped<String?>? purchaseOrderId,
  11. Wrapped<String?>? purchaseOrderNumber,
  12. Wrapped<String?>? consignorId,
  13. Wrapped<String?>? consignor,
})

Implementation

WebApiModulesWarehouseExchangeExchangeItemStatus copyWithWrapped(
    {Wrapped<String?>? inventoryId,
    Wrapped<String?>? iCode,
    Wrapped<String?>? availableFor,
    Wrapped<String?>? inventoryClass,
    Wrapped<String?>? description,
    Wrapped<String?>? warehouseId,
    Wrapped<String?>? warehouse,
    Wrapped<String?>? vendorId,
    Wrapped<String?>? vendor,
    Wrapped<String?>? purchaseOrderId,
    Wrapped<String?>? purchaseOrderNumber,
    Wrapped<String?>? consignorId,
    Wrapped<String?>? consignor}) {
  return WebApiModulesWarehouseExchangeExchangeItemStatus(
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      availableFor:
          (availableFor != null ? availableFor.value : this.availableFor),
      inventoryClass: (inventoryClass != null
          ? inventoryClass.value
          : this.inventoryClass),
      description:
          (description != null ? description.value : this.description),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      warehouse: (warehouse != null ? warehouse.value : this.warehouse),
      vendorId: (vendorId != null ? vendorId.value : this.vendorId),
      vendor: (vendor != null ? vendor.value : this.vendor),
      purchaseOrderId: (purchaseOrderId != null
          ? purchaseOrderId.value
          : this.purchaseOrderId),
      purchaseOrderNumber: (purchaseOrderNumber != null
          ? purchaseOrderNumber.value
          : this.purchaseOrderNumber),
      consignorId:
          (consignorId != null ? consignorId.value : this.consignorId),
      consignor: (consignor != null ? consignor.value : this.consignor));
}