AiutaAnalyticsPickerEvent class

This event is sent when a user interacts with the picker. This includes selecting an uploaded image, taking a photo, choosing gallery image, etc.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

AiutaAnalyticsPickerEvent.new({required AiutaAnalyticsPickerEventType event, required AiutaAnalyticsPageId pageId, required List<String> productIds})
Creates a picker event.
AiutaAnalyticsPickerEvent.fromJson(Map<String, dynamic> json)
factory

Properties

event AiutaAnalyticsPickerEventType
Type of the picker event representing the user action.
final
hashCode int
The hash code for this object.
no setterinherited
pageId AiutaAnalyticsPageId
Id of the page where the picker is located. For this event, the pageId is either AiutaAnalyticPageId.imagePicker or AiutaAnalyticPageId.results.
final
productIds List<String>
Ids of the products that the user interacts with. Matches the ids of either the products which is passed to the SDK by starting try-on
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AiutaAnalyticsEventType
Type of the analytic event.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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