copyWithWrapped method

WebApiModulesReportsContractReportsContractRevisionReportContractRevisionReportRequest copyWithWrapped({
  1. Wrapped<DateTime?>? fromDate,
  2. Wrapped<DateTime?>? toDate,
  3. Wrapped<bool?>? filterDates,
  4. Wrapped<int?>? daysChanged,
  5. Wrapped<String?>? officeLocationId,
  6. Wrapped<String?>? departmentId,
  7. Wrapped<String?>? userId,
  8. Wrapped<String?>? dealId,
  9. Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? revisionTypes,
  10. Wrapped<String?>? userDepartmentId,
  11. Wrapped<String?>? userLocationId,
  12. Wrapped<String?>? userWarehouseId,
  13. Wrapped<String?>? customReportLayoutId,
  14. Wrapped<bool?>? isSummary,
  15. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  16. Wrapped<bool?>? includeIdColumns,
  17. Wrapped<String?>? locale,
  18. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  19. Wrapped<String?>? reportName,
  20. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsContractReportsContractRevisionReportContractRevisionReportRequest
    copyWithWrapped(
        {Wrapped<DateTime?>? fromDate,
        Wrapped<DateTime?>? toDate,
        Wrapped<bool?>? filterDates,
        Wrapped<int?>? daysChanged,
        Wrapped<String?>? officeLocationId,
        Wrapped<String?>? departmentId,
        Wrapped<String?>? userId,
        Wrapped<String?>? dealId,
        Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>?
            revisionTypes,
        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 WebApiModulesReportsContractReportsContractRevisionReportContractRevisionReportRequest(
      fromDate: (fromDate != null ? fromDate.value : this.fromDate),
      toDate: (toDate != null ? toDate.value : this.toDate),
      filterDates:
          (filterDates != null ? filterDates.value : this.filterDates),
      daysChanged:
          (daysChanged != null ? daysChanged.value : this.daysChanged),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      userId: (userId != null ? userId.value : this.userId),
      dealId: (dealId != null ? dealId.value : this.dealId),
      revisionTypes:
          (revisionTypes != null ? revisionTypes.value : this.revisionTypes),
      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));
}