copyWithWrapped method

WebApiModulesIntegrationsStorefrontWebCatalogWarehouseQtyDto copyWithWrapped({
  1. Wrapped<String?>? warehouseId,
  2. Wrapped<double?>? totalItems,
})

Implementation

WebApiModulesIntegrationsStorefrontWebCatalogWarehouseQtyDto copyWithWrapped({
  Wrapped<String?>? warehouseId,
  Wrapped<double?>? totalItems,
}) {
  return WebApiModulesIntegrationsStorefrontWebCatalogWarehouseQtyDto(
    warehouseId: (warehouseId != null ? warehouseId.value : this.warehouseId),
    totalItems: (totalItems != null ? totalItems.value : this.totalItems),
  );
}