RecommendationOptions class

The class "RecommendationOptions" contains various properties for configuring recommendations, such as product IDs, filters, and display attributes.

Constructors

RecommendationOptions({required String slug, String? productID, List<String>? itemsIds, List<String>? itemsExcluded, String? additionalFilters, RecommendationFiltersJoinerRule? filtersJoiner, String? additionalElasticFilters, RecommendationFiltersJoinerRule? elasticFiltersJoiner, List<String>? displayAttribute, bool? includeContextItems = false})

Properties

additionalElasticFilters String?
getter/setter pair
additionalFilters String?
getter/setter pair
displayAttribute List<String>?
getter/setter pair
elasticFiltersJoiner RecommendationFiltersJoinerRule?
getter/setter pair
filtersJoiner RecommendationFiltersJoinerRule?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
includeContextItems bool?
getter/setter pair
itemsExcluded List<String>?
getter/setter pair
itemsIds List<String>?
getter/setter pair
productID String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slug String
getter/setter pair

Methods

asMap() Map
Map asMap() is a method that returns a Map object containing the properties of the RecommendationOptions class as key-value pairs.
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