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. dynamic urlIdentifier,
  31. List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  32. List<FwStandardDataFwCustomValue>? custom,
  33. List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  34. FwStandardBusinessLogicFwBusinessLogic? original,
  35. List<FwStandardDataFwTranslatedValue>? translation,
  36. bool? hasImport,
  37. String? createdByUserId,
  38. String? createdByUserName,
  39. String? createdDateTime,
  40. String? modifiedByUserId,
  41. String? modifiedByUserName,
  42. String? modifiedDateTime,
})

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,
  dynamic urlIdentifier,
  List<FwStandardBusinessLogicFwBusinessLogicFieldDefinition>? fields,
  List<FwStandardDataFwCustomValue>? custom,
  List<FwStandardDataFwDefaultAttribute>? defaultFieldAttributes,
  FwStandardBusinessLogicFwBusinessLogic? original,
  List<FwStandardDataFwTranslatedValue>? translation,
  bool? hasImport,
  String? createdByUserId,
  String? createdByUserName,
  String? createdDateTime,
  String? modifiedByUserId,
  String? modifiedByUserName,
  String? modifiedDateTime,
}) {
  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,
    urlIdentifier: urlIdentifier ?? this.urlIdentifier,
    fields: fields ?? this.fields,
    custom: custom ?? this.custom,
    defaultFieldAttributes:
        defaultFieldAttributes ?? this.defaultFieldAttributes,
    original: original ?? this.original,
    translation: translation ?? this.translation,
    hasImport: hasImport ?? this.hasImport,
    createdByUserId: createdByUserId ?? this.createdByUserId,
    createdByUserName: createdByUserName ?? this.createdByUserName,
    createdDateTime: createdDateTime ?? this.createdDateTime,
    modifiedByUserId: modifiedByUserId ?? this.modifiedByUserId,
    modifiedByUserName: modifiedByUserName ?? this.modifiedByUserName,
    modifiedDateTime: modifiedDateTime ?? this.modifiedDateTime,
  );
}