ShowFeedbackInteraction constructor
ShowFeedbackInteraction({
- required FeedbackEvent event,
- bool replace = false,
Implementation
ShowFeedbackInteraction({
required FeedbackEvent event,
bool replace = false,
}) : super(
id: 'show_feedback_${event.runtimeType.toString().toLowerCase()}',
data: {
'event': event.toJson(),
'replace': replace,
'deduplicationKey': event.deduplicationKey,
},
supportsOptimistic: true,
priority: event.priority,
tags: {
'feedback',
event.runtimeType.toString().toLowerCase(),
...event.tags
},
);