RecommendationsQuery class final
- Annotations
-
- @JsonSerializable()
Constructors
- RecommendationsQuery({required RecommendationModels model, required String objectID, SearchParamsObject? queryParameters, SearchParamsObject? fallbackParameters, required String indexName, int? threshold, int? maxRecommendations})
-
Returns a new RecommendationsQuery instance.
const
-
RecommendationsQuery.fromJson(Map<
String, dynamic> json) -
factory
Properties
- 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 → RecommendationModels
-
final
- objectID → String
-
Unique object identifier.
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