TrendingFacetsQuery constructor

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

Returns a new TrendingFacetsQuery instance.

Implementation

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