AiutaAnalyticsFeedbackEvent class
This event is sent when a user provides feedback for generated images.
- Inheritance
-
- Object
- AiutaAnalyticEvent
- AiutaAnalyticsFeedbackEvent
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaAnalyticsFeedbackEvent({required AiutaAnalyticsFeedbackEventType event, required AiutaAnalyticPageId pageId, required String productId, int? negativeFeedbackOptionIndex, String? negativeFeedbackText})
- Creates a feedback event.
-
AiutaAnalyticsFeedbackEvent.fromJson(Map<
String, dynamic> json) -
Creates a feedback event from a JSON object.
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 → AiutaAnalyticPageId
-
Id of the page.
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 feedback event to a JSON object.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited