BaseSearchResponse constructor

const BaseSearchResponse({
  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. Map<String, dynamic> additionalProperties = const {},
})

Returns a new BaseSearchResponse instance.

Implementation

const BaseSearchResponse({
  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,
  Map<String, dynamic> additionalProperties = const {},
}) : super(additionalProperties);