copyWith method

WebApiModulesHomeControlsRepairPartRepairPart copyWith({
  1. String? repairPartId,
  2. String? repairId,
  3. String? inventoryId,
  4. String? warehouseId,
  5. String? warehouseCode,
  6. String? warehouse,
  7. String? iCode,
  8. String? iCodeColor,
  9. String? description,
  10. String? descriptionColor,
  11. double? quantity,
  12. String? unit,
  13. double? price,
  14. double? grossTotal,
  15. double? discountAmount,
  16. double? extended,
  17. bool? taxable,
  18. double? tax,
  19. double? total,
  20. bool? billable,
  21. String? itemClass,
  22. String? itemOrder,
  23. String? currencySymbol,
  24. String? orderId,
  25. String? orderItemId,
  26. String? orderNumber,
  27. String? dateStamp,
  28. String? auditNote,
  29. String? recordTitle,
  30. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  31. List<FwStandardDataFwCustomValue>? custom,
  32. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  33. List<FwStandardDataFwTranslatedValue>? translation,
})

Implementation

WebApiModulesHomeControlsRepairPartRepairPart copyWith(
    {String? repairPartId,
    String? repairId,
    String? inventoryId,
    String? warehouseId,
    String? warehouseCode,
    String? warehouse,
    String? iCode,
    String? iCodeColor,
    String? description,
    String? descriptionColor,
    double? quantity,
    String? unit,
    double? price,
    double? grossTotal,
    double? discountAmount,
    double? extended,
    bool? taxable,
    double? tax,
    double? total,
    bool? billable,
    String? itemClass,
    String? itemOrder,
    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 WebApiModulesHomeControlsRepairPartRepairPart(
      repairPartId: repairPartId ?? this.repairPartId,
      repairId: repairId ?? this.repairId,
      inventoryId: inventoryId ?? this.inventoryId,
      warehouseId: warehouseId ?? this.warehouseId,
      warehouseCode: warehouseCode ?? this.warehouseCode,
      warehouse: warehouse ?? this.warehouse,
      iCode: iCode ?? this.iCode,
      iCodeColor: iCodeColor ?? this.iCodeColor,
      description: description ?? this.description,
      descriptionColor: descriptionColor ?? this.descriptionColor,
      quantity: quantity ?? this.quantity,
      unit: unit ?? this.unit,
      price: price ?? this.price,
      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,
      itemClass: itemClass ?? this.itemClass,
      itemOrder: itemOrder ?? this.itemOrder,
      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);
}