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? urlIdentifier,
  25. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  26. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  27. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  28. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  29. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  30. Wrapped<bool?>? hasImport,
  31. Wrapped<String?>? createdByUserId,
  32. Wrapped<String?>? createdByUserName,
  33. Wrapped<String?>? createdDateTime,
  34. Wrapped<String?>? modifiedByUserId,
  35. Wrapped<String?>? modifiedByUserName,
  36. Wrapped<String?>? modifiedDateTime,
})

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<dynamic>? urlIdentifier,
  Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>?
  fields,
  Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  Wrapped<bool?>? hasImport,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  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),
    urlIdentifier: (urlIdentifier != null
        ? urlIdentifier.value
        : this.urlIdentifier),
    fields: (fields != null ? fields.value : this.fields),
    custom: (custom != null ? custom.value : this.custom),
    defaultFieldAttributes: (defaultFieldAttributes != null
        ? defaultFieldAttributes.value
        : this.defaultFieldAttributes),
    original: (original != null ? original.value : this.original),
    translation: (translation != null ? translation.value : this.translation),
    hasImport: (hasImport != null ? hasImport.value : this.hasImport),
    createdByUserId: (createdByUserId != null
        ? createdByUserId.value
        : this.createdByUserId),
    createdByUserName: (createdByUserName != null
        ? createdByUserName.value
        : this.createdByUserName),
    createdDateTime: (createdDateTime != null
        ? createdDateTime.value
        : this.createdDateTime),
    modifiedByUserId: (modifiedByUserId != null
        ? modifiedByUserId.value
        : this.modifiedByUserId),
    modifiedByUserName: (modifiedByUserName != null
        ? modifiedByUserName.value
        : this.modifiedByUserName),
    modifiedDateTime: (modifiedDateTime != null
        ? modifiedDateTime.value
        : this.modifiedDateTime),
  );
}