copyWith method

WebApiModulesReportsBillingReportsRevenueReportRevenueReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? officeLocationId,
  4. String? customerId,
  5. String? dealId,
  6. String? warehouseId,
  7. String? inventoryTypeId,
  8. String? categoryId,
  9. String? subCategoryId,
  10. String? inventoryId,
  11. String? ranks,
  12. List<FwStandardModelsSelectedCheckBoxListItem>? trackedBys,
  13. String? userDepartmentId,
  14. String? userLocationId,
  15. String? userWarehouseId,
  16. String? customReportLayoutId,
  17. bool? isSummary,
  18. bool? includeSubHeadingsAndSubTotals,
  19. bool? includeIdColumns,
  20. String? locale,
  21. List<FwStandardModelsCheckBoxListItem>? excelfields,
  22. String? reportName,
  23. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsBillingReportsRevenueReportRevenueReportRequest copyWith({
  DateTime? fromDate,
  DateTime? toDate,
  String? officeLocationId,
  String? customerId,
  String? dealId,
  String? warehouseId,
  String? inventoryTypeId,
  String? categoryId,
  String? subCategoryId,
  String? inventoryId,
  String? ranks,
  List<FwStandardModelsSelectedCheckBoxListItem>? trackedBys,
  String? userDepartmentId,
  String? userLocationId,
  String? userWarehouseId,
  String? customReportLayoutId,
  bool? isSummary,
  bool? includeSubHeadingsAndSubTotals,
  bool? includeIdColumns,
  String? locale,
  List<FwStandardModelsCheckBoxListItem>? excelfields,
  String? reportName,
  bool? useEmailTemplate,
}) {
  return WebApiModulesReportsBillingReportsRevenueReportRevenueReportRequest(
    fromDate: fromDate ?? this.fromDate,
    toDate: toDate ?? this.toDate,
    officeLocationId: officeLocationId ?? this.officeLocationId,
    customerId: customerId ?? this.customerId,
    dealId: dealId ?? this.dealId,
    warehouseId: warehouseId ?? this.warehouseId,
    inventoryTypeId: inventoryTypeId ?? this.inventoryTypeId,
    categoryId: categoryId ?? this.categoryId,
    subCategoryId: subCategoryId ?? this.subCategoryId,
    inventoryId: inventoryId ?? this.inventoryId,
    ranks: ranks ?? this.ranks,
    trackedBys: trackedBys ?? this.trackedBys,
    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,
  );
}