copyWithWrapped method

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

Implementation

WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest copyWithWrapped(
    {Wrapped<String?>? invoiceId,
    Wrapped<String?>? customReportLayoutId,
    Wrapped<bool?>? isSummary,
    Wrapped<bool?>? includeSubHeadingsAndSubTotals,
    Wrapped<bool?>? includeIdColumns,
    Wrapped<String?>? locale,
    Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields}) {
  return WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest(
      invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
      customReportLayoutId: (customReportLayoutId != null
          ? customReportLayoutId.value
          : this.customReportLayoutId),
      isSummary: (isSummary != null ? isSummary.value : this.isSummary),
      includeSubHeadingsAndSubTotals: (includeSubHeadingsAndSubTotals != null
          ? includeSubHeadingsAndSubTotals.value
          : this.includeSubHeadingsAndSubTotals),
      includeIdColumns: (includeIdColumns != null
          ? includeIdColumns.value
          : this.includeIdColumns),
      locale: (locale != null ? locale.value : this.locale),
      excelfields:
          (excelfields != null ? excelfields.value : this.excelfields));
}