SearchResponse class

The search API response.

Constructors

SearchResponse({ResponseDebugInfo? debugInfo, ErrorInfo? errorInfo, List<FacetResult>? facetResults, bool? hasMoreResults, QueryInterpretation? queryInterpretation, String? resultCountEstimate, String? resultCountExact, ResultCounts? resultCounts, List<SearchResult>? results, List<SpellResult>? spellResults, List<StructuredResult>? structuredResults})
SearchResponse.fromJson(Map json_)

Properties

debugInfo ResponseDebugInfo?
Debugging information about the response.
getter/setter pair
errorInfo ErrorInfo?
Error information about the response.
getter/setter pair
facetResults List<FacetResult>?
Repeated facet results.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hasMoreResults bool?
Whether there are more search results matching the query.
getter/setter pair
queryInterpretation QueryInterpretation?
Query interpretation result for user query.
getter/setter pair
resultCountEstimate String?
The estimated result count for this query.
getter/setter pair
resultCountExact String?
The exact result count for this query.
getter/setter pair
resultCounts ResultCounts?
Expanded result count information.
getter/setter pair
results List<SearchResult>?
Results from a search query.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spellResults List<SpellResult>?
Suggested spelling for the query.
getter/setter pair
structuredResults List<StructuredResult>?
Structured results for the user query.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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