RecommendationSeenEvent class

This is a recommendation seen event with parameters such as product ID, product name, campaign ID, and campaign hash.

Inheritance

Constructors

RecommendationSeenEvent(String label, String action, String productId, String productName, String campaignId, String campaignHash, Map<String, Object>? parameters)

Properties

hashCode int
The hash code for this object.
no setterinherited
parameters Map<String, Object>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

asMap() Map
The function returns a map with the values of type, label, action, and parameters.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setCategory(String category) → void
This function sets the category parameter for a recommendation seen event.
setUrl(String url) → void
This function sets a URL parameter in a map called "parameters".
toString() String
A string representation of this object.
inherited

Operators

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