RecommendationClickEvent class

The class represents a recommendation click event with specific parameters.

Inheritance

Constructors

RecommendationClickEvent(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 click event.
setUrl(String url) → void
The function sets a URL parameter in a recommendation click event.
toString() String
A string representation of this object.
inherited

Operators

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