copyWith method
WebApiModulesHomeControlsServiceOrderItemServiceOrderItem
copyWith({
- String? serviceOrderItemId,
- String? repairId,
- String? repairNumber,
- String? barCode,
- String? serialNumber,
- String? repairICode,
- String? trackedBy,
- String? repairDescription,
- double? quantity,
- double? rate,
- double? extended,
- String? repairInventoryId,
- String? warehouseId,
- String? warehouseCode,
- String? warehouse,
- String? repairCostId,
- String? repairPartId,
- String? itemOrder,
- String? notes,
- String? recType,
- String? recTypeDisplay,
- String? consignorId,
- String? consignorAgreementId,
- String? inventoryId,
- String? iCode,
- String? description,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsServiceOrderItemServiceOrderItem copyWith(
{String? serviceOrderItemId,
String? repairId,
String? repairNumber,
String? barCode,
String? serialNumber,
String? repairICode,
String? trackedBy,
String? repairDescription,
double? quantity,
double? rate,
double? extended,
String? repairInventoryId,
String? warehouseId,
String? warehouseCode,
String? warehouse,
String? repairCostId,
String? repairPartId,
String? itemOrder,
String? notes,
String? recType,
String? recTypeDisplay,
String? consignorId,
String? consignorAgreementId,
String? inventoryId,
String? iCode,
String? description,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsServiceOrderItemServiceOrderItem(
serviceOrderItemId: serviceOrderItemId ?? this.serviceOrderItemId,
repairId: repairId ?? this.repairId,
repairNumber: repairNumber ?? this.repairNumber,
barCode: barCode ?? this.barCode,
serialNumber: serialNumber ?? this.serialNumber,
repairICode: repairICode ?? this.repairICode,
trackedBy: trackedBy ?? this.trackedBy,
repairDescription: repairDescription ?? this.repairDescription,
quantity: quantity ?? this.quantity,
rate: rate ?? this.rate,
extended: extended ?? this.extended,
repairInventoryId: repairInventoryId ?? this.repairInventoryId,
warehouseId: warehouseId ?? this.warehouseId,
warehouseCode: warehouseCode ?? this.warehouseCode,
warehouse: warehouse ?? this.warehouse,
repairCostId: repairCostId ?? this.repairCostId,
repairPartId: repairPartId ?? this.repairPartId,
itemOrder: itemOrder ?? this.itemOrder,
notes: notes ?? this.notes,
recType: recType ?? this.recType,
recTypeDisplay: recTypeDisplay ?? this.recTypeDisplay,
consignorId: consignorId ?? this.consignorId,
consignorAgreementId: consignorAgreementId ?? this.consignorAgreementId,
inventoryId: inventoryId ?? this.inventoryId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
auditNote: auditNote ?? this.auditNote,
recordTitle: recordTitle ?? this.recordTitle,
fields: fields ?? this.fields,
custom: custom ?? this.custom,
defaultFieldAttributes:
defaultFieldAttributes ?? this.defaultFieldAttributes,
translation: translation ?? this.translation);
}