RelatedQuery constructor

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

Returns a new RelatedQuery instance.

Implementation

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