copyWithWrapped method

WebApiModulesReportsOrderValueSheetReportOrderValueSheetReportRequest copyWithWrapped({
  1. Wrapped<String?>? orderId,
  2. Wrapped<String?>? rentalValue,
  3. Wrapped<bool?>? weightInCase,
  4. Wrapped<bool?>? excludeZeroValueItems,
  5. Wrapped<String?>? filterBy,
  6. Wrapped<String?>? userDepartmentId,
  7. Wrapped<String?>? userLocationId,
  8. Wrapped<String?>? userWarehouseId,
  9. Wrapped<String?>? customReportLayoutId,
  10. Wrapped<bool?>? isSummary,
  11. Wrapped<bool?>? includeSubHeadingsAndSubTotals,
  12. Wrapped<bool?>? includeIdColumns,
  13. Wrapped<String?>? locale,
  14. Wrapped<List<FwStandardModelsCheckBoxListItem>?>? excelfields,
  15. Wrapped<String?>? reportName,
  16. Wrapped<bool?>? useEmailTemplate,
})

Implementation

WebApiModulesReportsOrderValueSheetReportOrderValueSheetReportRequest
    copyWithWrapped(
        {Wrapped<String?>? orderId,
        Wrapped<String?>? rentalValue,
        Wrapped<bool?>? weightInCase,
        Wrapped<bool?>? excludeZeroValueItems,
        Wrapped<String?>? filterBy,
        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 WebApiModulesReportsOrderValueSheetReportOrderValueSheetReportRequest(
      orderId: (orderId != null ? orderId.value : this.orderId),
      rentalValue:
          (rentalValue != null ? rentalValue.value : this.rentalValue),
      weightInCase:
          (weightInCase != null ? weightInCase.value : this.weightInCase),
      excludeZeroValueItems: (excludeZeroValueItems != null
          ? excludeZeroValueItems.value
          : this.excludeZeroValueItems),
      filterBy: (filterBy != null ? filterBy.value : this.filterBy),
      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));
}