copyWith method
WebApiModulesInventoryInventorySubstituteInventorySubstitute
copyWith({
- String? inventorySubstituteId,
- String? inventoryId,
- String? substituteInventoryId,
- String? iCode,
- String? description,
- String? manufacturerId,
- String? manufacturer,
- double? rate,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- dynamic urlIdentifier,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - FwStandardBusinessLogicFwBusinessLogic? original,
- List<
FwStandardDataFwTranslatedValue> ? translation, - bool? hasImport,
- bool? hasDocuments,
- String? createdByUserId,
- String? createdByUserName,
- String? createdDateTime,
- String? modifiedByUserId,
- String? modifiedByUserName,
- String? modifiedDateTime,
Implementation
WebApiModulesInventoryInventorySubstituteInventorySubstitute copyWith({
String? inventorySubstituteId,
String? inventoryId,
String? substituteInventoryId,
String? iCode,
String? description,
String? manufacturerId,
String? manufacturer,
double? rate,
String? dateStamp,
String? auditNote,
String? recordTitle,
dynamic urlIdentifier,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
FwStandardBusinessLogicFwBusinessLogic? original,
List<FwStandardDataFwTranslatedValue>? translation,
bool? hasImport,
bool? hasDocuments,
String? createdByUserId,
String? createdByUserName,
String? createdDateTime,
String? modifiedByUserId,
String? modifiedByUserName,
String? modifiedDateTime,
}) {
return WebApiModulesInventoryInventorySubstituteInventorySubstitute(
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,
urlIdentifier: urlIdentifier ?? this.urlIdentifier,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
original: original ?? this.original,
translation: translation ?? this.translation,
hasImport: hasImport ?? this.hasImport,
hasDocuments: hasDocuments ?? this.hasDocuments,
createdByUserId: createdByUserId ?? this.createdByUserId,
createdByUserName: createdByUserName ?? this.createdByUserName,
createdDateTime: createdDateTime ?? this.createdDateTime,
modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
);
}