copyWithWrapped method

WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory copyWithWrapped({
  1. Wrapped<int?>? id,
  2. Wrapped<String?>? physicalInventoryId,
  3. Wrapped<String?>? inventoryId,
  4. Wrapped<String?>? iCode,
  5. Wrapped<String?>? description,
  6. Wrapped<String?>? availableFor,
  7. Wrapped<String?>? availableForDisplay,
  8. Wrapped<double?>? quantityOwned,
  9. Wrapped<String?>? trackedBy,
  10. Wrapped<double?>? unitCost,
  11. Wrapped<bool?>? isRecount,
  12. Wrapped<String?>? aisleLocation,
  13. Wrapped<String?>? shelfLocation,
  14. Wrapped<int?>? isNegativeInventory,
  15. Wrapped<double?>? quantityAdded,
  16. Wrapped<double?>? quantityRetired,
  17. Wrapped<double?>? lastPurchaseUnitCost,
  18. Wrapped<double?>? newUnitCost,
  19. Wrapped<String?>? currentSpaceId,
  20. Wrapped<String?>? consignorId,
  21. Wrapped<String?>? dateStamp,
  22. Wrapped<String?>? auditNote,
  23. Wrapped<String?>? recordTitle,
  24. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  25. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  26. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  27. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory
    copyWithWrapped(
        {Wrapped<int?>? id,
        Wrapped<String?>? physicalInventoryId,
        Wrapped<String?>? inventoryId,
        Wrapped<String?>? iCode,
        Wrapped<String?>? description,
        Wrapped<String?>? availableFor,
        Wrapped<String?>? availableForDisplay,
        Wrapped<double?>? quantityOwned,
        Wrapped<String?>? trackedBy,
        Wrapped<double?>? unitCost,
        Wrapped<bool?>? isRecount,
        Wrapped<String?>? aisleLocation,
        Wrapped<String?>? shelfLocation,
        Wrapped<int?>? isNegativeInventory,
        Wrapped<double?>? quantityAdded,
        Wrapped<double?>? quantityRetired,
        Wrapped<double?>? lastPurchaseUnitCost,
        Wrapped<double?>? newUnitCost,
        Wrapped<String?>? currentSpaceId,
        Wrapped<String?>? consignorId,
        Wrapped<String?>? dateStamp,
        Wrapped<String?>? auditNote,
        Wrapped<String?>? recordTitle,
        Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
            fields,
        Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
        Wrapped<List<FwStandardDataFwDefaultAttribute>?>?
            defaultFieldAttributes,
        Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation}) {
  return WebApiModulesHomeControlsPhysicalInventoryInventoryPhysicalInventoryInventory(
      id: (id != null ? id.value : this.id),
      physicalInventoryId: (physicalInventoryId != null
          ? physicalInventoryId.value
          : this.physicalInventoryId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      iCode: (iCode != null ? iCode.value : this.iCode),
      description:
          (description != null ? description.value : this.description),
      availableFor:
          (availableFor != null ? availableFor.value : this.availableFor),
      availableForDisplay: (availableForDisplay != null
          ? availableForDisplay.value
          : this.availableForDisplay),
      quantityOwned:
          (quantityOwned != null ? quantityOwned.value : this.quantityOwned),
      trackedBy: (trackedBy != null ? trackedBy.value : this.trackedBy),
      unitCost: (unitCost != null ? unitCost.value : this.unitCost),
      isRecount: (isRecount != null ? isRecount.value : this.isRecount),
      aisleLocation:
          (aisleLocation != null ? aisleLocation.value : this.aisleLocation),
      shelfLocation:
          (shelfLocation != null ? shelfLocation.value : this.shelfLocation),
      isNegativeInventory: (isNegativeInventory != null
          ? isNegativeInventory.value
          : this.isNegativeInventory),
      quantityAdded:
          (quantityAdded != null ? quantityAdded.value : this.quantityAdded),
      quantityRetired: (quantityRetired != null
          ? quantityRetired.value
          : this.quantityRetired),
      lastPurchaseUnitCost: (lastPurchaseUnitCost != null
          ? lastPurchaseUnitCost.value
          : this.lastPurchaseUnitCost),
      newUnitCost:
          (newUnitCost != null ? newUnitCost.value : this.newUnitCost),
      currentSpaceId: (currentSpaceId != null
          ? currentSpaceId.value
          : this.currentSpaceId),
      consignorId:
          (consignorId != null ? consignorId.value : this.consignorId),
      dateStamp: (dateStamp != null ? dateStamp.value : this.dateStamp),
      auditNote: (auditNote != null ? auditNote.value : this.auditNote),
      recordTitle:
          (recordTitle != null ? recordTitle.value : this.recordTitle),
      fields: (fields != null ? fields.value : this.fields),
      custom: (custom != null ? custom.value : this.custom),
      defaultFieldAttributes: (defaultFieldAttributes != null
          ? defaultFieldAttributes.value
          : this.defaultFieldAttributes),
      translation:
          (translation != null ? translation.value : this.translation));
}