copyWith method
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,
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);
}