RecommendationsResults constructor

const RecommendationsResults({
  1. int? abTestID,
  2. int? abTestVariantID,
  3. String? aroundLatLng,
  4. String? automaticRadius,
  5. Exhaustive? exhaustive,
  6. bool? exhaustiveFacetsCount,
  7. bool? exhaustiveNbHits,
  8. bool? exhaustiveTypo,
  9. Map<String, Map<String, int>>? facets,
  10. Map<String, FacetsStats>? facetsStats,
  11. required int hitsPerPage,
  12. String? index,
  13. String? indexUsed,
  14. String? message,
  15. required int nbHits,
  16. required int nbPages,
  17. int? nbSortedHits,
  18. required int page,
  19. String? parsedQuery,
  20. required int processingTimeMS,
  21. Object? processingTimingsMS,
  22. String? queryAfterRemoval,
  23. Redirect? redirect,
  24. RenderingContent? renderingContent,
  25. int? serverTimeMS,
  26. String? serverUsed,
  27. Object? userData,
  28. String? queryID,
  29. required Iterable hits,
})

Returns a new RecommendationsResults instance.

Implementation

const RecommendationsResults({
  this.abTestID,
  this.abTestVariantID,
  this.aroundLatLng,
  this.automaticRadius,
  this.exhaustive,
  this.exhaustiveFacetsCount,
  this.exhaustiveNbHits,
  this.exhaustiveTypo,
  this.facets,
  this.facetsStats,
  required this.hitsPerPage,
  this.index,
  this.indexUsed,
  this.message,
  required this.nbHits,
  required this.nbPages,
  this.nbSortedHits,
  required this.page,
  this.parsedQuery,
  required this.processingTimeMS,
  this.processingTimingsMS,
  this.queryAfterRemoval,
  this.redirect,
  this.renderingContent,
  this.serverTimeMS,
  this.serverUsed,
  this.userData,
  this.queryID,
  required this.hits,
});