copyWithWrapped method

WebApiModulesSettingsAttributeValueAttributeValue copyWithWrapped({
  1. Wrapped<String?>? attributeValueId,
  2. Wrapped<String?>? attributeValue,
  3. Wrapped<String?>? attributeId,
  4. Wrapped<String?>? attribute,
  5. Wrapped<String?>? inventoryTypeId,
  6. Wrapped<String?>? inventoryType,
  7. Wrapped<bool?>? numericOnly,
  8. Wrapped<bool?>? inactive,
  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

WebApiModulesSettingsAttributeValueAttributeValue copyWithWrapped(
    {Wrapped<String?>? attributeValueId,
    Wrapped<String?>? attributeValue,
    Wrapped<String?>? attributeId,
    Wrapped<String?>? attribute,
    Wrapped<String?>? inventoryTypeId,
    Wrapped<String?>? inventoryType,
    Wrapped<bool?>? numericOnly,
    Wrapped<bool?>? inactive,
    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 WebApiModulesSettingsAttributeValueAttributeValue(
      attributeValueId: (attributeValueId != null
          ? attributeValueId.value
          : this.attributeValueId),
      attributeValue: (attributeValue != null
          ? attributeValue.value
          : this.attributeValue),
      attributeId:
          (attributeId != null ? attributeId.value : this.attributeId),
      attribute: (attribute != null ? attribute.value : this.attribute),
      inventoryTypeId: (inventoryTypeId != null
          ? inventoryTypeId.value
          : this.inventoryTypeId),
      inventoryType:
          (inventoryType != null ? inventoryType.value : this.inventoryType),
      numericOnly:
          (numericOnly != null ? numericOnly.value : this.numericOnly),
      inactive: (inactive != null ? inactive.value : this.inactive),
      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));
}