TrendingFacetsQuery constructor

const TrendingFacetsQuery({
  1. required String indexName,
  2. required double threshold,
  3. int? maxRecommendations,
  4. required String facetName,
  5. required TrendingFacetsModel model,
})

Returns a new TrendingFacetsQuery instance.

Implementation

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