SearchResult constructor

SearchResult(
  1. int totalCount,
  2. List<Hit> hits, {
  3. Map<String, List<SuggestHit>>? suggestHits,
  4. Map<String, Aggregation>? aggregations,
  5. String? scrollId,
})

Implementation

SearchResult(this.totalCount, this.hits,
    {this.suggestHits, this.aggregations, this.scrollId});