copyWith method

WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest copyWith({
  1. String? invoiceId,
  2. String? customReportLayoutId,
  3. bool? isSummary,
  4. bool? includeSubHeadingsAndSubTotals,
  5. bool? includeIdColumns,
  6. String? locale,
  7. List<FwStandardModelsCheckBoxListItem>? excelfields,
})

Implementation

WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest copyWith(
    {String? invoiceId,
    String? customReportLayoutId,
    bool? isSummary,
    bool? includeSubHeadingsAndSubTotals,
    bool? includeIdColumns,
    String? locale,
    List<FwStandardModelsCheckBoxListItem>? excelfields}) {
  return WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest(
      invoiceId: invoiceId ?? this.invoiceId,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields);
}