TrendingItemsQuery constructor

const TrendingItemsQuery({
  1. required String indexName,
  2. required double threshold,
  3. int? maxRecommendations,
  4. RecommendSearchParams? queryParameters,
  5. String? facetName,
  6. String? facetValue,
  7. required TrendingItemsModel model,
  8. FallbackParams? fallbackParameters,
})

Returns a new TrendingItemsQuery instance.

Implementation

const TrendingItemsQuery({
  required this.indexName,
  required this.threshold,
  this.maxRecommendations,
  this.queryParameters,
  this.facetName,
  this.facetValue,
  required this.model,
  this.fallbackParameters,
});