copyWithWrapped method

WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest copyWithWrapped({
  1. Wrapped<String?>? invoiceId,
  2. Wrapped<bool?>? rollUpPeriods,
  3. Wrapped<bool?>? printZeroExtended,
  4. Wrapped<String?>? userDepartmentId,
  5. Wrapped<String?>? userLocationId,
  6. Wrapped<String?>? userWarehouseId,
  7. Wrapped<String?>? customReportLayoutId,
  8. Wrapped<bool?>? isSummary,
  9. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  10. Wrapped<bool?>? includeIdColumns,
  11. Wrapped<String?>? locale,
  12. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  13. Wrapped<String?>? reportName,
  14. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest copyWithWrapped({
  Wrapped<String?>? invoiceId,
  Wrapped<bool?>? rollUpPeriods,
  Wrapped<bool?>? printZeroExtended,
  Wrapped<String?>? userDepartmentId,
  Wrapped<String?>? userLocationId,
  Wrapped<String?>? userWarehouseId,
  Wrapped<String?>? customReportLayoutId,
  Wrapped<bool?>? isSummary,
  Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  Wrapped<bool?>? includeIdColumns,
  Wrapped<String?>? locale,
  Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  Wrapped<String?>? reportName,
  Wrapped<bool?>? useEmailTemplate,
}) {
  return WebApiModulesReportsBillingInvoiceReportInvoiceReportRequest(
    invoiceId: (invoiceId != null ? invoiceId.value : this.invoiceId),
    rollUpPeriods: (rollUpPeriods != null
        ? rollUpPeriods.value
        : this.rollUpPeriods),
    printZeroExtended: (printZeroExtended != null
        ? printZeroExtended.value
        : this.printZeroExtended),
    userDepartmentId: (userDepartmentId != null
        ? userDepartmentId.value
        : this.userDepartmentId),
    userLocationId: (userLocationId != null
        ? userLocationId.value
        : this.userLocationId),
    userWarehouseId: (userWarehouseId != null
        ? userWarehouseId.value
        : this.userWarehouseId),
    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),
    reportName: (reportName != null ? reportName.value : this.reportName),
    useEmailTemplate: (useEmailTemplate != null
        ? useEmailTemplate.value
        : this.useEmailTemplate),
  );
}