SearchResponse class Null safety

The result of a Search request. Contains the documents that match the specified search criteria and any requested fields, highlights, and facet information.

Constructors

SearchResponse({Map<String, BucketInfo>? facets, Hits? hits, Map<String, FieldStats>? stats, SearchStatus? status})
SearchResponse.fromJson(Map<String, dynamic> json)
factory

Properties

facets Map<String, BucketInfo>?
The requested facet information.
final
hashCode int
The hash code for this object.
read-onlyinherited
hits Hits?
The documents that match the search criteria.
final
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
stats Map<String, FieldStats>?
The requested field statistics information.
final
status SearchStatus?
The status information returned for the search request.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited