copyWith method
WebApiModulesHomeControlsInventoryPrepInventoryPrep
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,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsInventoryPrepInventoryPrep 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,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsInventoryPrepInventoryPrep(
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,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}