copyWith method

WebApiModulesReportsBillingCreateInvoiceProcessReportCreateInvoiceProcessReportRequest copyWith({
  1. String? invoiceCreationBatchId,
  2. bool? exceptionsOnly,
  3. String? userDepartmentId,
  4. String? userLocationId,
  5. String? userWarehouseId,
  6. String? customReportLayoutId,
  7. bool? isSummary,
  8. bool? includeSubHeadingsAndSubTotals,
  9. bool? includeIdColumns,
  10. String? locale,
  11. List<FwStandardModelsCheckBoxListItem>? excelfields,
  12. String? reportName,
  13. bool? useEmailTemplate,
})

Implementation

WebApiModulesReportsBillingCreateInvoiceProcessReportCreateInvoiceProcessReportRequest
    copyWith(
        {String? invoiceCreationBatchId,
        bool? exceptionsOnly,
        String? userDepartmentId,
        String? userLocationId,
        String? userWarehouseId,
        String? customReportLayoutId,
        bool? isSummary,
        bool? includeSubHeadingsAndSubTotals,
        bool? includeIdColumns,
        String? locale,
        List<FwStandardModelsCheckBoxListItem>? excelfields,
        String? reportName,
        bool? useEmailTemplate}) {
  return WebApiModulesReportsBillingCreateInvoiceProcessReportCreateInvoiceProcessReportRequest(
      invoiceCreationBatchId:
          invoiceCreationBatchId ?? this.invoiceCreationBatchId,
      exceptionsOnly: exceptionsOnly ?? this.exceptionsOnly,
      userDepartmentId: userDepartmentId ?? this.userDepartmentId,
      userLocationId: userLocationId ?? this.userLocationId,
      userWarehouseId: userWarehouseId ?? this.userWarehouseId,
      customReportLayoutId: customReportLayoutId ?? this.customReportLayoutId,
      isSummary: isSummary ?? this.isSummary,
      includeSubHeadingsAndSubTotals: includeSubHeadingsAndSubTotals ??
          this.includeSubHeadingsAndSubTotals,
      includeIdColumns: includeIdColumns ?? this.includeIdColumns,
      locale: locale ?? this.locale,
      excelfields: excelfields ?? this.excelfields,
      reportName: reportName ?? this.reportName,
      useEmailTemplate: useEmailTemplate ?? this.useEmailTemplate);
}