RecommendationsResults constructor
const
RecommendationsResults({
- int? abTestID,
- int? abTestVariantID,
- String? aroundLatLng,
- String? automaticRadius,
- Exhaustive? exhaustive,
- List<
Object> ? appliedRules, - bool? exhaustiveFacetsCount,
- bool? exhaustiveNbHits,
- bool? exhaustiveTypo,
- Map<
String, Map< ? facets,String, int> > - Map<
String, FacetStats> ? facetsStats, - String? index,
- String? indexUsed,
- String? message,
- int? nbSortedHits,
- String? parsedQuery,
- required int processingTimeMS,
- Object? processingTimingsMS,
- String? queryAfterRemoval,
- Redirect? redirect,
- RenderingContent? renderingContent,
- int? serverTimeMS,
- String? serverUsed,
- Object? userData,
- String? queryID,
- bool? automaticInsights,
- int? page,
- int? nbHits,
- int? nbPages,
- int? hitsPerPage,
- required Iterable hits,
Returns a new RecommendationsResults instance.
Implementation
const RecommendationsResults({
this.abTestID,
this.abTestVariantID,
this.aroundLatLng,
this.automaticRadius,
this.exhaustive,
this.appliedRules,
this.exhaustiveFacetsCount,
this.exhaustiveNbHits,
this.exhaustiveTypo,
this.facets,
this.facetsStats,
this.index,
this.indexUsed,
this.message,
this.nbSortedHits,
this.parsedQuery,
required this.processingTimeMS,
this.processingTimingsMS,
this.queryAfterRemoval,
this.redirect,
this.renderingContent,
this.serverTimeMS,
this.serverUsed,
this.userData,
this.queryID,
this.automaticInsights,
this.page,
this.nbHits,
this.nbPages,
this.hitsPerPage,
required this.hits,
});