DismissFeedbackInteraction constructor

DismissFeedbackInteraction({
  1. String? eventId,
  2. Set<String>? tags,
  3. bool dismissAll = false,
})

Implementation

DismissFeedbackInteraction({
  String? eventId,
  Set<String>? tags,
  bool dismissAll = false,
}) : super(
        id: 'dismiss_feedback',
        data: {
          if (eventId != null) 'eventId': eventId,
          if (tags != null) 'tags': tags.toList(),
          'dismissAll': dismissAll,
        },
        supportsOptimistic: true,
        tags: {'feedback', 'dismiss'},
      );