FacetResult class
The facet values for the documents in the response.
Constructors
-
FacetResult({String? documentAttributeKey, List<
DocumentAttributeValueCountPair> ? documentAttributeValueCountPairs, DocumentAttributeValueType? documentAttributeValueType}) -
FacetResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- documentAttributeKey → String?
-
The key for the facet values. This is the same as the
DocumentAttributeKey
provided in the query.final -
documentAttributeValueCountPairs
→ List<
DocumentAttributeValueCountPair> ? -
An array of key/value pairs, where the key is the value of the attribute and
the count is the number of documents that share the key value.
final
- documentAttributeValueType → DocumentAttributeValueType?
-
The data type of the facet value. This is the same as the type defined for
the index field when it was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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