TrendingItemsQuery class final

Annotations
  • @JsonSerializable()

Constructors

TrendingItemsQuery({String? facetName, String? facetValue, TrendingItemsModel? model, SearchParamsObject? queryParameters, SearchParamsObject? fallbackParameters, required String indexName, int? threshold, int? maxRecommendations})
Returns a new TrendingItemsQuery instance.
const
TrendingItemsQuery.fromJson(Map<String, dynamic> json)
factory

Properties

facetName String?
Facet name for trending models.
final
facetValue String?
Facet value for trending models.
final
fallbackParameters SearchParamsObject?
final
hashCode int
The hash code for this object.
no setteroverride
indexName String
Algolia index name.
final
maxRecommendations int?
Maximum number of recommendations to retrieve. If 0, all recommendations will be returned.
final
model TrendingItemsModel?
final
queryParameters SearchParamsObject?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threshold int?
Recommendations with a confidence score lower than threshold won't appear in results. > Note: Each recommendation has a confidence score of 0 to 100. The closer the score is to 100, the more relevant the recommendations are.
final

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.
override

Operators

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