copyWithWrapped method

WebApiModulesHomeControlsInventoryAttributeValueInventoryAttributeValue copyWithWrapped({
  1. Wrapped<String?>? inventoryAttributeValueId,
  2. Wrapped<String?>? attributeId,
  3. Wrapped<String?>? inventoryId,
  4. Wrapped<String?>? attribute,
  5. Wrapped<String?>? attributeValueId,
  6. Wrapped<String?>? attributeValue,
  7. Wrapped<double?>? numericValue,
  8. Wrapped<bool?>? numericOnly,
  9. Wrapped<String?>? dateStamp,
  10. Wrapped<String?>? auditNote,
  11. Wrapped<String?>? recordTitle,
  12. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  13. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  14. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  15. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
})

Implementation

WebApiModulesHomeControlsInventoryAttributeValueInventoryAttributeValue
    copyWithWrapped(
        {Wrapped<String?>? inventoryAttributeValueId,
        Wrapped<String?>? attributeId,
        Wrapped<String?>? inventoryId,
        Wrapped<String?>? attribute,
        Wrapped<String?>? attributeValueId,
        Wrapped<String?>? attributeValue,
        Wrapped<double?>? numericValue,
        Wrapped<bool?>? numericOnly,
        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 WebApiModulesHomeControlsInventoryAttributeValueInventoryAttributeValue(
      inventoryAttributeValueId: (inventoryAttributeValueId != null
          ? inventoryAttributeValueId.value
          : this.inventoryAttributeValueId),
      attributeId:
          (attributeId != null ? attributeId.value : this.attributeId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      attribute: (attribute != null ? attribute.value : this.attribute),
      attributeValueId: (attributeValueId != null
          ? attributeValueId.value
          : this.attributeValueId),
      attributeValue: (attributeValue != null
          ? attributeValue.value
          : this.attributeValue),
      numericValue:
          (numericValue != null ? numericValue.value : this.numericValue),
      numericOnly:
          (numericOnly != null ? numericOnly.value : this.numericOnly),
      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));
}