copyWith method

WebApiModulesReportsOrderReportsProjectReportProjectReportRequest copyWith({
  1. String? projectId,
  2. String? id,
  3. WebApiModulesReportsOrderReportsOrderReportReportViewType? reportView,
  4. bool? printEntireGroup,
  5. bool? printInventoryType,
  6. bool? printCategory,
  7. bool? printTotalReplacementCost,
  8. bool? printInventoryTypeSubTotal,
  9. bool? printCategorySubTotal,
  10. bool? printZeroExtended,
  11. bool? printLineItemNotes,
  12. bool? printSplitLines,
  13. bool? printGrandTotal,
  14. bool? printGrossTotal,
  15. bool? printGrandDiscount,
  16. bool? printGrandWeekly,
  17. bool? printGrandMonthly,
  18. bool? printGrandPeriod,
  19. bool? printGrandHiatus,
  20. bool? printActivityWeekly,
  21. bool? printActivityMonthly,
  22. bool? printActivityPeriod,
  23. String? languageId,
  24. bool? filterRentalAndSaleItems,
  25. String? rentalAndSaleItemsToInclude,
  26. String? filterOrderQuote,
  27. String? userDepartmentId,
  28. String? userLocationId,
  29. String? userWarehouseId,
  30. String? customReportLayoutId,
  31. bool? isSummary,
  32. bool? includeSubHeadingsAndSubTotals,
  33. bool? includeIdColumns,
  34. String? locale,
  35. List<FwStandardModelsCheckBoxListItem>? excelfields,
  36. String? reportName,
  37. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderReportsProjectReportProjectReportRequest copyWith({
  String? projectId,
  String? id,
  enums.WebApiModulesReportsOrderReportsOrderReportReportViewType? reportView,
  bool? printEntireGroup,
  bool? printInventoryType,
  bool? printCategory,
  bool? printTotalReplacementCost,
  bool? printInventoryTypeSubTotal,
  bool? printCategorySubTotal,
  bool? printZeroExtended,
  bool? printLineItemNotes,
  bool? printSplitLines,
  bool? printGrandTotal,
  bool? printGrossTotal,
  bool? printGrandDiscount,
  bool? printGrandWeekly,
  bool? printGrandMonthly,
  bool? printGrandPeriod,
  bool? printGrandHiatus,
  bool? printActivityWeekly,
  bool? printActivityMonthly,
  bool? printActivityPeriod,
  String? languageId,
  bool? filterRentalAndSaleItems,
  String? rentalAndSaleItemsToInclude,
  String? filterOrderQuote,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsOrderReportsProjectReportProjectReportRequest(
    projectId: projectId ?? this.projectId,
    id: id ?? this.id,
    reportView: reportView ?? this.reportView,
    printEntireGroup: printEntireGroup ?? this.printEntireGroup,
    printInventoryType: printInventoryType ?? this.printInventoryType,
    printCategory: printCategory ?? this.printCategory,
    printTotalReplacementCost:
        printTotalReplacementCost ?? this.printTotalReplacementCost,
    printInventoryTypeSubTotal:
        printInventoryTypeSubTotal ?? this.printInventoryTypeSubTotal,
    printCategorySubTotal:
        printCategorySubTotal ?? this.printCategorySubTotal,
    printZeroExtended: printZeroExtended ?? this.printZeroExtended,
    printLineItemNotes: printLineItemNotes ?? this.printLineItemNotes,
    printSplitLines: printSplitLines ?? this.printSplitLines,
    printGrandTotal: printGrandTotal ?? this.printGrandTotal,
    printGrossTotal: printGrossTotal ?? this.printGrossTotal,
    printGrandDiscount: printGrandDiscount ?? this.printGrandDiscount,
    printGrandWeekly: printGrandWeekly ?? this.printGrandWeekly,
    printGrandMonthly: printGrandMonthly ?? this.printGrandMonthly,
    printGrandPeriod: printGrandPeriod ?? this.printGrandPeriod,
    printGrandHiatus: printGrandHiatus ?? this.printGrandHiatus,
    printActivityWeekly: printActivityWeekly ?? this.printActivityWeekly,
    printActivityMonthly: printActivityMonthly ?? this.printActivityMonthly,
    printActivityPeriod: printActivityPeriod ?? this.printActivityPeriod,
    languageId: languageId ?? this.languageId,
    filterRentalAndSaleItems:
        filterRentalAndSaleItems ?? this.filterRentalAndSaleItems,
    rentalAndSaleItemsToInclude:
        rentalAndSaleItemsToInclude ?? this.rentalAndSaleItemsToInclude,
    filterOrderQuote: filterOrderQuote ?? this.filterOrderQuote,
    userDepartmentId: userDepartmentId ?? this.userDepartmentId,
    userLocationId: userLocationId ?? this.userLocationId,
    userWarehouseId: userWarehouseId ?? this.userWarehouseId,
    customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
    isSummary: isSummary ?? this.isSummary,
    includeSubHeadingsAndSubTotals:
        includeSubHeadingsAndSubTotals ?? this.includeSubHeadingsAndSubTotals,
    includeIdColumns: includeIdColumns ?? this.includeIdColumns,
    locale: locale ?? this.locale,
    excelfields: excelfields ?? this.excelfields,
    reportName: reportName ?? this.reportName,
    useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate,
  );
}