TrendingItemsQuery constructor

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

Returns a new TrendingItemsQuery instance.

Implementation

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