BrowseResponse constructor
const
BrowseResponse({
- 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,
- required List<
Hit> hits, - required String query,
- required String params,
- String? cursor,
Returns a new BrowseResponse instance.
Implementation
const BrowseResponse({
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,
required this.hits,
required this.query,
required this.params,
this.cursor,
});