copyWithWrapped method

WebApiModulesSettingsInventorySettingsAttributeAttribute copyWithWrapped({
  1. Wrapped<String?>? attributeId,
  2. Wrapped<String?>? attribute,
  3. Wrapped<String?>? inventoryTypeId,
  4. Wrapped<String?>? inventoryType,
  5. Wrapped<bool?>? numericOnly,
  6. Wrapped<int?>? valueCount,
  7. Wrapped<bool?>? inactive,
  8. Wrapped<String?>? dateStamp,
  9. Wrapped<String?>? auditNote,
  10. Wrapped<String?>? recordTitle,
  11. Wrapped? urlIdentifier,
  12. Wrapped<List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>?>? fields,
  13. Wrapped<List<FwStandardDataFwCustomValue>?>? custom,
  14. Wrapped<List<FwStandardDataFwDefaultAttribute>?>? defaultFieldAttributes,
  15. Wrapped<FwStandardBusinessLogicFwBusinessLogic?>? original,
  16. Wrapped<List<FwStandardDataFwTranslatedValue>?>? translation,
  17. Wrapped<bool?>? hasImport,
  18. Wrapped<bool?>? hasDocuments,
  19. Wrapped<String?>? createdByUserId,
  20. Wrapped<String?>? createdByUserName,
  21. Wrapped<String?>? createdDateTime,
  22. Wrapped<String?>? modifiedByUserId,
  23. Wrapped<String?>? modifiedByUserName,
  24. Wrapped<String?>? modifiedDateTime,
})

Implementation

WebApiModulesSettingsInventorySettingsAttributeAttribute copyWithWrapped({
  Wrapped<String?>? attributeId,
  Wrapped<String?>? attribute,
  Wrapped<String?>? inventoryTypeId,
  Wrapped<String?>? inventoryType,
  Wrapped<bool?>? numericOnly,
  Wrapped<int?>? valueCount,
  Wrapped<bool?>? inactive,
  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<bool?>? hasDocuments,
  Wrapped<String?>? createdByUserId,
  Wrapped<String?>? createdByUserName,
  Wrapped<String?>? createdDateTime,
  Wrapped<String?>? modifiedByUserId,
  Wrapped<String?>? modifiedByUserName,
  Wrapped<String?>? modifiedDateTime,
}) {
  return WebApiModulesSettingsInventorySettingsAttributeAttribute(
    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),
    valueCount: (valueCount != null ? valueCount.value : this.valueCount),
    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),
    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),
    hasDocuments: (hasDocuments != null
        ? hasDocuments.value
        : this.hasDocuments),
    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),
  );
}