copyWith method

WebApiModulesHomeControlsRepairCostRepairCost copyWith({
  1. String? repairCostId,
  2. String? repairId,
  3. String? rateId,
  4. String? iCode,
  5. String? description,
  6. double? quantity,
  7. String? unit,
  8. double? rate,
  9. double? grossTotal,
  10. double? discountAmount,
  11. double? extended,
  12. bool? taxable,
  13. double? tax,
  14. double? total,
  15. bool? billable,
  16. String? note,
  17. String? currencySymbol,
  18. String? orderId,
  19. String? orderItemId,
  20. String? orderNumber,
  21. String? dateStamp,
  22. String? auditNote,
  23. String? recordTitle,
  24. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  25. List<FwStandardDataFwCustomValue>? custom,
  26. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  27. 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);
}