BrowseResponse constructor
const
BrowseResponse({
- 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 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.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,
required this.query,
required this.params,
this.cursor,
});