copyWith method

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

Implementation

WebApiModulesHomeControlsInventoryAttributeValueInventoryAttributeValue
    copyWith(
        {String? inventoryAttributeValueId,
        String? attributeId,
        String? inventoryId,
        String? attribute,
        String? attributeValueId,
        String? attributeValue,
        double? numericValue,
        bool? numericOnly,
        String? dateStamp,
        String? auditNote,
        String? recordTitle,
        List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
        List<FwStandardDataFwCustomValue>? custom,
        List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
        List<FwStandardDataFwTranslatedValue>? translation}) {
  return WebApiModulesHomeControlsInventoryAttributeValueInventoryAttributeValue(
      inventoryAttributeValueId:
          inventoryAttributeValueId ?? this.inventoryAttributeValueId,
      attributeId: attributeId ?? this.attributeId,
      inventoryId: inventoryId ?? this.inventoryId,
      attribute: attribute ?? this.attribute,
      attributeValueId: attributeValueId ?? this.attributeValueId,
      attributeValue: attributeValue ?? this.attributeValue,
      numericValue: numericValue ?? this.numericValue,
      numericOnly: numericOnly ?? this.numericOnly,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes,
      translation: translation ?? this.translation);
}