FeedbackEvent class abstract

Base class for all feedback events

Implementers

Constructors

FeedbackEvent({required String id, required String message, int priority = 0, Duration? duration, Set<String> tags = const {}, bool dismissible = true, Map<String, dynamic> metadata = const {}})
const

Properties

deduplicationKey → String
Create deduplication key for this event
no setter
dismissible → bool
Whether this event can be dismissed by user
final
duration → Duration?
Duration to show the feedback
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for this feedback event
final
message → String
Message to display
final
metadata → Map<String, dynamic>
Metadata for additional properties
final
priority → int
Priority for ordering (higher = more important)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Set<String>
Tags for categorization and deduplication
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Convert to JSON for serialization
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited