BoughtTogetherQuery class final

Annotations
  • @JsonSerializable()

Constructors

BoughtTogetherQuery({required String indexName, required double threshold, int? maxRecommendations, RecommendSearchParams? queryParameters, required FbtModel model, required String objectID})
Returns a new BoughtTogetherQuery instance.
const
BoughtTogetherQuery.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
indexName String
Index name (case-sensitive).
final
maxRecommendations int?
Maximum number of recommendations to retrieve. By default, all recommendations are returned and no fallback request is made. Depending on the available recommendations and the other request parameters, the actual number of recommendations may be lower than this value.
final
model FbtModel
final
objectID String
Unique record identifier.
final
queryParameters RecommendSearchParams?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
threshold double
Minimum score a recommendation must have to be included in the response.
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