copyWith method
WebApiModulesHomeControlsInventorySubstituteInventorySubstitute
copyWith({
- String? inventorySubstituteId,
- String? inventoryId,
- String? substituteInventoryId,
- String? iCode,
- String? description,
- String? manufacturerId,
- String? manufacturer,
- double? rate,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsInventorySubstituteInventorySubstitute copyWith(
{String? inventorySubstituteId,
String? inventoryId,
String? substituteInventoryId,
String? iCode,
String? description,
String? manufacturerId,
String? manufacturer,
double? rate,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsInventorySubstituteInventorySubstitute(
inventorySubstituteId:
inventorySubstituteId ?? this.inventorySubstituteId,
inventoryId: inventoryId ?? this.inventoryId,
substituteInventoryId:
substituteInventoryId ?? this.substituteInventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
manufacturerId: manufacturerId ?? this.manufacturerId,
manufacturer: manufacturer ?? this.manufacturer,
rate: rate ?? this.rate,
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);
}