copyWith method
WebApiModulesHomeControlsRepairCostRepairCost
copyWith({
- String? repairCostId,
- String? repairId,
- String? rateId,
- String? iCode,
- String? description,
- double? quantity,
- String? unit,
- double? rate,
- double? grossTotal,
- double? discountAmount,
- double? extended,
- bool? taxable,
- double? tax,
- double? total,
- bool? billable,
- String? note,
- String? currencySymbol,
- String? orderId,
- String? orderItemId,
- String? orderNumber,
- String? dateStamp,
- String? auditNote,
- String? recordTitle,
- List<
FwStandardBusinessLogicFwBusinessLogicFieldDefinition> ? fields, - List<
FwStandardDataFwCustomValue> ? custom, - List<
FwStandardDataFwDefaultAttribute> ? defaultFieldAttributes, - List<
FwStandardDataFwTranslatedValue> ? translation,
Implementation
WebApiModulesHomeControlsRepairCostRepairCost copyWith(
{String? repairCostId,
String? repairId,
String? rateId,
String? iCode,
String? description,
double? quantity,
String? unit,
double? rate,
double? grossTotal,
double? discountAmount,
double? extended,
bool? taxable,
double? tax,
double? total,
bool? billable,
String? note,
String? currencySymbol,
String? orderId,
String? orderItemId,
String? orderNumber,
String? dateStamp,
String? auditNote,
String? recordTitle,
List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
List<FwStandardDataFwCustomValue>? custom,
List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
List<FwStandardDataFwTranslatedValue>? translation}) {
return WebApiModulesHomeControlsRepairCostRepairCost(
repairCostId: repairCostId ?? this.repairCostId,
repairId: repairId ?? this.repairId,
rateId: rateId ?? this.rateId,
iCode: iCode ?? this.iCode,
description: description ?? this.description,
quantity: quantity ?? this.quantity,
unit: unit ?? this.unit,
rate: rate ?? this.rate,
grossTotal: grossTotal ?? this.grossTotal,
discountAmount: discountAmount ?? this.discountAmount,
extended: extended ?? this.extended,
taxable: taxable ?? this.taxable,
tax: tax ?? this.tax,
total: total ?? this.total,
billable: billable ?? this.billable,
note: note ?? this.note,
currencySymbol: currencySymbol ?? this.currencySymbol,
orderId: orderId ?? this.orderId,
orderItemId: orderItemId ?? this.orderItemId,
orderNumber: orderNumber ?? this.orderNumber,
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);
}