QueryResult class

Constructors

QueryResult({List<FacetResult>? facetResults, String? queryId, List<QueryResultItem>? resultItems, int? totalNumberOfResults})
QueryResult.fromJson(Map<String, dynamic> json)
factory

Properties

facetResults List<FacetResult>?
Contains the facet results. A FacetResult contains the counts for each attribute key that was specified in the Facets input parameter.
final
hashCode int
The hash code for this object.
no setterinherited
queryId String?
The unique identifier for the search. You use QueryId to identify the search when using the feedback API.
final
resultItems List<QueryResultItem>?
The results of the search.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
totalNumberOfResults int?
The total number of items found by the search; however, you can only retrieve up to 100 items. For example, if the search found 192 items, you can only retrieve the first 100 of the items.
final

Methods

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

Operators

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