copyWith method

WebApiModulesSettingsInventorySettingsAttributeAttribute copyWith({
  1. String? attributeId,
  2. String? attribute,
  3. String? inventoryTypeId,
  4. String? inventoryType,
  5. bool? numericOnly,
  6. int? valueCount,
  7. bool? inactive,
  8. String? dateStamp,
  9. String? auditNote,
  10. String? recordTitle,
  11. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  12. List<FwStandardDataFwCustomValue>? custom,
  13. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
})

Implementation

WebApiModulesSettingsInventorySettingsAttributeAttribute copyWith(
    {String? attributeId,
    String? attribute,
    String? inventoryTypeId,
    String? inventoryType,
    bool? numericOnly,
    int? valueCount,
    bool? inactive,
    String? dateStamp,
    String? auditNote,
    String? recordTitle,
    List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
    List<FwStandardDataFwCustomValue>? custom,
    List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes}) {
  return WebApiModulesSettingsInventorySettingsAttributeAttribute(
      attributeId: attributeId ?? this.attributeId,
      attribute: attribute ?? this.attribute,
      inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
      inventoryType: inventoryType ?? this.inventoryType,
      numericOnly: numericOnly ?? this.numericOnly,
      valueCount: valueCount ?? this.valueCount,
      inactive: inactive ?? this.inactive,
      dateStamp: dateStamp ?? this.dateStamp,
      auditNote: auditNote ?? this.auditNote,
      recordTitle: recordTitle ?? this.recordTitle,
      fields: fields ?? this.fields,
      custom: custom ?? this.custom,
      defaultFieldAttributes:
          defaultFieldAttributes ?? this.defaultFieldAttributes);
}