AiutaAnalyticsFeedbackEvent class
This event is sent when a user provides feedback for generated images.
- Inheritance
-
- Object
- AiutaAnalyticsEvent
- AiutaAnalyticsFeedbackEvent
- Annotations
-
- @JsonSerializable()
Constructors
-
AiutaAnalyticsFeedbackEvent.new({required AiutaAnalyticsFeedbackEventType event, required AiutaAnalyticsPageId pageId, required List<
String> productIds, int? negativeFeedbackOptionIndex, String? negativeFeedbackText}) - Creates a feedback event.
-
AiutaAnalyticsFeedbackEvent.fromJson(Map<
String, dynamic> json) -
factory
Properties
- event → AiutaAnalyticsFeedbackEventType
-
Type of the feedback event.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- negativeFeedbackOptionIndex → int?
-
Index of the negative feedback option if user selects one.
final
- negativeFeedbackText → String?
-
Text of the negative feedback if user provides one when selecting the "Other" option.
Or text of the predefined negative feedback option if user selects one.
Or null if user prefers not to provide detailed feedback.
final
- pageId → AiutaAnalyticsPageId
-
Id of the page.
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