BaseSearchResponse constructor
const
BaseSearchResponse({
- int? abTestID,
- int? abTestVariantID,
- String? aroundLatLng,
- String? automaticRadius,
- bool? exhaustiveFacetsCount,
- bool? exhaustiveNbHits,
- bool? exhaustiveTypo,
- Map<
String, Map< ? facets,String, int> > - Map<
String, FacetsStats> ? facetsStats, - required int hitsPerPage,
- String? index,
- String? indexUsed,
- String? message,
- required int nbHits,
- required int nbPages,
- int? nbSortedHits,
- required int page,
- BaseSearchResponseRedirect? redirect,
- String? parsedQuery,
- required int processingTimeMS,
- String? queryAfterRemoval,
- String? serverUsed,
- Object? userData,
- RenderingContent? renderingContent,
Returns a new BaseSearchResponse instance.
Implementation
const BaseSearchResponse({
this.abTestID,
this.abTestVariantID,
this.aroundLatLng,
this.automaticRadius,
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.redirect,
this.parsedQuery,
required this.processingTimeMS,
this.queryAfterRemoval,
this.serverUsed,
this.userData,
this.renderingContent,
});