BrowseResponse constructor

const BrowseResponse({
  1. int? abTestID,
  2. int? abTestVariantID,
  3. String? aroundLatLng,
  4. String? automaticRadius,
  5. Exhaustive? exhaustive,
  6. List<Object>? appliedRules,
  7. bool? exhaustiveFacetsCount,
  8. bool? exhaustiveNbHits,
  9. bool? exhaustiveTypo,
  10. Map<String, Map<String, int>>? facets,
  11. Map<String, FacetStats>? facetsStats,
  12. String? index,
  13. String? indexUsed,
  14. String? message,
  15. int? nbSortedHits,
  16. String? parsedQuery,
  17. required int processingTimeMS,
  18. Object? processingTimingsMS,
  19. String? queryAfterRemoval,
  20. Redirect? redirect,
  21. RenderingContent? renderingContent,
  22. int? serverTimeMS,
  23. String? serverUsed,
  24. Object? userData,
  25. String? queryID,
  26. bool? automaticInsights,
  27. int? page,
  28. int? nbHits,
  29. int? nbPages,
  30. int? hitsPerPage,
  31. required List<Hit> hits,
  32. required String query,
  33. required String params,
  34. 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,
});