copyWith method

WebApiModulesReportsSharedSalesTaxReportSalesTaxReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? dateType,
  4. String? officeLocationId,
  5. String? departmentId,
  6. List<FwStandardModelsSelectedCheckBoxListItem>? statuses,
  7. String? customReportLayoutId,
  8. bool? isSummary,
  9. bool? includeSubHeadingsAndSubTotals,
  10. bool? includeIdColumns,
  11. String? locale,
  12. List<FwStandardModelsCheckBoxListItem>? excelfields,
})

Implementation

WebApiModulesReportsSharedSalesTaxReportSalesTaxReportRequest copyWith(
    {DateTime? fromDate,
    DateTime? toDate,
    String? dateType,
    String? officeLocationId,
    String? departmentId,
    List<FwStandardModelsSelectedCheckBoxListItem>? statuses,
    String? customReportLayoutId,
    bool? isSummary,
    bool? includeSubHeadingsAndSubTotals,
    bool? includeIdColumns,
    String? locale,
    List<FwStandardModelsCheckBoxListItem>? excelfields}) {
  return WebApiModulesReportsSharedSalesTaxReportSalesTaxReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      dateType: dateType ?? this.dateType,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      departmentId: departmentId ?? this.departmentId,
      statuses: statuses ?? this.statuses,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields);
}