RecommendedForYouQuery constructor

const RecommendedForYouQuery({
  1. required String indexName,
  2. required double threshold,
  3. int? maxRecommendations,
  4. SearchParams? queryParameters,
  5. required RecommendedForYouModel model,
  6. FallbackParams? fallbackParameters,
})

Returns a new RecommendedForYouQuery instance.

Implementation

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