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