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
-
- Object
- AiutaAnalyticEvent
- AiutaAnalyticsPickerEvent
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaAnalyticsPickerEvent({required AiutaAnalyticsPickerEventType event, required AiutaAnalyticPageId pageId, required String productId})
- Creates a picker event.
-
AiutaAnalyticsPickerEvent.fromJson(Map<
String, dynamic> json) -
Creates a picker event from a JSON object.
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 → AiutaAnalyticPageId
-
Id of the page where the picker is located.
For this event, the pageId is either AiutaAnalyticPageId.imagePicker or AiutaAnalyticPageId.results.
final
- productId → String
-
Id of the product that the user interacts with.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AiutaAnalyticEventType
-
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> -
Converts the picker event to a JSON object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited