TrendingItemsQuery constructor
const
TrendingItemsQuery({
- required String indexName,
- required double threshold,
- int? maxRecommendations,
- SearchParams? queryParameters,
- required String facetName,
- required String facetValue,
- required TrendingItemsModel model,
- 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,
});