copyWith method
WebApiModulesInventoryInventoryPrepInventoryPrep
copyWith({
- String? inventoryPrepId,
- String? inventoryId,
- String? iCode,
- String? description,
- String? prepRateId,
- String? prepICode,
- String? prepDescription,
- String? prepUnit,
- String? prepUnitType,
- bool? isDefault,
- double? prepRate,
- String? prepTime,
- double? prepExtended,
- double? qtyOrdered,
- double? price,
- bool? orderId,
- bool? masteritemId,
- 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
WebApiModulesInventoryInventoryPrepInventoryPrep copyWith({
String? inventoryPrepId,
String? inventoryId,
String? iCode,
String? description,
String? prepRateId,
String? prepICode,
String? prepDescription,
String? prepUnit,
String? prepUnitType,
bool? isDefault,
double? prepRate,
String? prepTime,
double? prepExtended,
double? qtyOrdered,
double? price,
bool? orderId,
bool? masteritemId,
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 WebApiModulesInventoryInventoryPrepInventoryPrep(
inventoryPrepId: inventoryPrepId ?? this.inventoryPrepId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
prepRateId: prepRateId ?? this.prepRateId,
prepICode: prepICode ?? this.prepICode,
prepDescription: prepDescription ?? this.prepDescription,
prepUnit: prepUnit ?? this.prepUnit,
prepUnitType: prepUnitType ?? this.prepUnitType,
isDefault: isDefault ?? this.isDefault,
prepRate: prepRate ?? this.prepRate,
prepTime: prepTime ?? this.prepTime,
prepExtended: prepExtended ?? this.prepExtended,
qtyOrdered: qtyOrdered ?? this.qtyOrdered,
price: price ?? this.price,
orderId: orderId ?? this.orderId,
masteritemId: masteritemId ?? this.masteritemId,
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,
);
}