copyWithWrapped method

WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest copyWithWrapped({
  1. Wrapped<DateTime?>? asOfDate,
  2. Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? ranks,
  3. Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? trackedBys,
  4. Wrapped<bool?>? excludeFullyDepreciated,
  5. Wrapped<String?>? warehouseId,
  6. Wrapped<String?>? inventoryTypeId,
  7. Wrapped<String?>? categoryId,
  8. Wrapped<String?>? subCategoryId,
  9. Wrapped<String?>? inventoryId,
  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

WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest
    copyWithWrapped(
        {Wrapped<DateTime?>? asOfDate,
        Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? ranks,
        Wrapped<List<FwStandardModelsSelectedCheckBoxListItem>?>? trackedBys,
        Wrapped<bool?>? excludeFullyDepreciated,
        Wrapped<String?>? warehouseId,
        Wrapped<String?>? inventoryTypeId,
        Wrapped<String?>? categoryId,
        Wrapped<String?>? subCategoryId,
        Wrapped<String?>? inventoryId,
        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 WebApiModulesReportsFixedAssetBookValueFixedAssetBookValueRequest(
      asOfDate: (asOfDate != null ? asOfDate.value : this.asOfDate),
      ranks: (ranks != null ? ranks.value : this.ranks),
      trackedBys: (trackedBys != null ? trackedBys.value : this.trackedBys),
      excludeFullyDepreciated: (excludeFullyDepreciated != null
          ? excludeFullyDepreciated.value
          : this.excludeFullyDepreciated),
      warehouseId:
          (warehouseId != null ? warehouseId.value : this.warehouseId),
      inventoryTypeId: (inventoryTypeId != null
          ? inventoryTypeId.value
          : this.inventoryTypeId),
      categoryId: (categoryId != null ? categoryId.value : this.categoryId),
      subCategoryId:
          (subCategoryId != null ? subCategoryId.value : this.subCategoryId),
      inventoryId:
          (inventoryId != null ? inventoryId.value : this.inventoryId),
      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));
}