copyWithWrapped method

WebApiModulesReportsOrderReportsQuoteOrderMasterReportQuoteOrderMasterReportRequest copyWithWrapped({
  1. Wrapped<DateTime?>? fromDate,
  2. Wrapped<DateTime?>? toDate,
  3. Wrapped<String?>? dateType,
  4. Wrapped<bool?>? filterDates,
  5. Wrapped<String?>? officeLocationId,
  6. Wrapped<String?>? departmentId,
  7. Wrapped<String?>? customerId,
  8. Wrapped<String?>? dealTypeId,
  9. Wrapped<String?>? dealStatusId,
  10. Wrapped<String?>? dealId,
  11. Wrapped<String?>? agentId,
  12. Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? orderType,
  13. Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? quoteStatus,
  14. Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? orderStatus,
  15. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? sortBy,
  16. Wrapped<String?>? userDepartmentId,
  17. Wrapped<String?>? userLocationId,
  18. Wrapped<String?>? userWarehouseId,
  19. Wrapped<String?>? customReportLayoutId,
  20. Wrapped<bool?>? isSummary,
  21. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  22. Wrapped<bool?>? includeIdColumns,
  23. Wrapped<String?>? locale,
  24. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  25. Wrapped<String?>? reportName,
  26. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderReportsQuoteOrderMasterReportQuoteOrderMasterReportRequest
    copyWithWrapped(
        {Wrapped<DateTime?>? fromDate,
        Wrapped<DateTime?>? toDate,
        Wrapped<String?>? dateType,
        Wrapped<bool?>? filterDates,
        Wrapped<String?>? officeLocationId,
        Wrapped<String?>? departmentId,
        Wrapped<String?>? customerId,
        Wrapped<String?>? dealTypeId,
        Wrapped<String?>? dealStatusId,
        Wrapped<String?>? dealId,
        Wrapped<String?>? agentId,
        Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? orderType,
        Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? quoteStatus,
        Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? orderStatus,
        Wrapped<List<FwStandardModelsCheckBoxListItem>?>? sortBy,
        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 WebApiModulesReportsOrderReportsQuoteOrderMasterReportQuoteOrderMasterReportRequest(
      fromDate: (fromDate != null ? fromDate.value : this.fromDate),
      toDate: (toDate != null ? toDate.value : this.toDate),
      dateType: (dateType != null ? dateType.value : this.dateType),
      filterDates:
          (filterDates != null ? filterDates.value : this.filterDates),
      officeLocationId: (officeLocationId != null
          ? officeLocationId.value
          : this.officeLocationId),
      departmentId:
          (departmentId != null ? departmentId.value : this.departmentId),
      customerId: (customerId != null ? customerId.value : this.customerId),
      dealTypeId: (dealTypeId != null ? dealTypeId.value : this.dealTypeId),
      dealStatusId:
          (dealStatusId != null ? dealStatusId.value : this.dealStatusId),
      dealId: (dealId != null ? dealId.value : this.dealId),
      agentId: (agentId != null ? agentId.value : this.agentId),
      orderType: (orderType != null ? orderType.value : this.orderType),
      quoteStatus:
          (quoteStatus != null ? quoteStatus.value : this.quoteStatus),
      orderStatus:
          (orderStatus != null ? orderStatus.value : this.orderStatus),
      sortBy: (sortBy != null ? sortBy.value : this.sortBy),
      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));
}