copyWith method

WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest copyWith({
  1. DateTime? fromDate,
  2. DateTime? toDate,
  3. String? officeLocationId,
  4. String? glAccountId,
  5. String? excludeGlAccountId,
  6. String? dealId,
  7. bool? isSomeDetail,
  8. bool? isFullDetail,
  9. String? customReportLayoutId,
  10. bool? isSummary,
  11. bool? includeSubHeadingsAndSubTotals,
  12. bool? includeIdColumns,
  13. String? locale,
  14. List<FwStandardModelsCheckBoxListItem>? excelfields,
})

Implementation

WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest
    copyWith(
        {DateTime? fromDate,
        DateTime? toDate,
        String? officeLocationId,
        String? glAccountId,
        String? excludeGlAccountId,
        String? dealId,
        bool? isSomeDetail,
        bool? isFullDetail,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields}) {
  return WebApiModulesReportsAccountingReportsGlDistributionReportGlDistributionReportRequest(
      fromDate: fromDate ?? this.fromDate,
      toDate: toDate ?? this.toDate,
      officeLocationId: officeLocationId ?? this.officeLocationId,
      glAccountId: glAccountId ?? this.glAccountId,
      excludeGlAccountId: excludeGlAccountId ?? this.excludeGlAccountId,
      dealId: dealId ?? this.dealId,
      isSomeDetail: isSomeDetail ?? this.isSomeDetail,
      isFullDetail: isFullDetail ?? this.isFullDetail,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields);
}