copyWith method

WebApiModulesReportsBillingBillingAnalysisReportBillingAnalysisReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? dateType,
  4. String? officeLocationId,
  5. String? customerId,
  6. String? dealId,
  7. String? projectId,
  8. String? agentId,
  9. List<FwStandardModelsSelectedCheckBoxListItem>? status,
  10. List<FwStandardModelsSelectedCheckBoxListItem>? includeFilter,
  11. List<FwStandardModelsSelectedCheckBoxListItem>? includeTaxFilter,
  12. bool? excludeOrdersBilledInTotal,
  13. bool? excludeZeroOrderTotal,
  14. bool? includeProjectStatus,
  15. bool? includeCreditsInvoiced,
  16. String? userDepartmentId,
  17. String? userLocationId,
  18. String? userWarehouseId,
  19. String? customReportLayoutId,
  20. bool? isSummary,
  21. bool? includeSubHeadingsAndSubTotals,
  22. bool? includeIdColumns,
  23. String? locale,
  24. List<FwStandardModelsCheckBoxListItem>? excelfields,
  25. String? reportName,
  26. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsBillingBillingAnalysisReportBillingAnalysisReportRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        String? dateType,
        String? officeLocationId,
        String? customerId,
        String? dealId,
        String? projectId,
        String? agentId,
        List<FwStandardModelsSelectedCheckBoxListItem>? status,
        List<FwStandardModelsSelectedCheckBoxListItem>? includeFilter,
        List<FwStandardModelsSelectedCheckBoxListItem>? includeTaxFilter,
        bool? excludeOrdersBilledInTotal,
        bool? excludeZeroOrderTotal,
        bool? includeProjectStatus,
        bool? includeCreditsInvoiced,
        String? userDepartmentId,
        String? userLocationId,
        String? userWarehouseId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields,
        String? reportName,
        bool? useEmailTemplate}) {
  return WebApiModulesReportsBillingBillingAnalysisReportBillingAnalysisReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      dateType: dateType ?? this.dateType,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      customerId: customerId ?? this.customerId,
      dealId: dealId ?? this.dealId,
      projectId: projectId ?? this.projectId,
      agentId: agentId ?? this.agentId,
      status: status ?? this.status,
      includeFilter: includeFilter ?? this.includeFilter,
      includeTaxFilter: includeTaxFilter ?? this.includeTaxFilter,
      excludeOrdersBilledInTotal:
          excludeOrdersBilledInTotal ?? this.excludeOrdersBilledInTotal,
      excludeZeroOrderTotal:
          excludeZeroOrderTotal ?? this.excludeZeroOrderTotal,
      includeProjectStatus: includeProjectStatus ?? this.includeProjectStatus,
      includeCreditsInvoiced:
          includeCreditsInvoiced ?? this.includeCreditsInvoiced,
      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);
}