copyWith method

WebApiModulesReportsBillingProjectManagerBillingReportProjectManagerBillingReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? dateType,
  4. bool? includeNoCharge,
  5. String? officeLocationId,
  6. String? departmentId,
  7. String? projectManagerId,
  8. String? customerId,
  9. String? dealId,
  10. String? customReportLayoutId,
  11. bool? isSummary,
  12. bool? includeSubHeadingsAndSubTotals,
  13. bool? includeIdColumns,
  14. String? locale,
  15. List<FwStandardModelsCheckBoxListItem>? excelfields,
})

Implementation

WebApiModulesReportsBillingProjectManagerBillingReportProjectManagerBillingReportRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        String? dateType,
        bool? includeNoCharge,
        String? officeLocationId,
        String? departmentId,
        String? projectManagerId,
        String? customerId,
        String? dealId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields}) {
  return WebApiModulesReportsBillingProjectManagerBillingReportProjectManagerBillingReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      dateType: dateType ?? this.dateType,
      includeNoCharge: includeNoCharge ?? this.includeNoCharge,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      departmentId: departmentId ?? this.departmentId,
      projectManagerId: projectManagerId ?? this.projectManagerId,
      customerId: customerId ?? this.customerId,
      dealId: dealId ?? this.dealId,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields);
}