ShowFeedbackInteraction class

Interaction for showing feedback events

Inheritance

Constructors

ShowFeedbackInteraction({required FeedbackEvent event, bool replace = false})

Properties

data → Map<String, dynamic>
The interaction data as a map.
finalinherited
event → FeedbackEvent
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for this interaction type.
finalinherited
payload → Object?
Gets the payload object (if any) for class-based interactions.
no setterinherited
payloadType → Type?
Gets the payload type for type checking.
no setterinherited
priority → int
Priority level for execution order (higher = more priority).
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsOptimistic → bool
Whether this interaction supports optimistic updates.
finalinherited
tags → Set<String>
Tags for categorizing interactions.
finalinherited
timeout → Duration?
Timeout duration for the interaction (optional).
finalinherited

Methods

createRollback() → InteractionDefinition?
Creates a rollback interaction (optional).
inherited
getValidationErrors() → List<String>
Gets validation error messages.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes the interaction data to JSON format.
inherited
toString() → String
A string representation of this object.
inherited
validate() → bool
Validates the interaction data.
inherited

Operators

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

Static Methods

createBannerEvent(Map<String, dynamic> data) → BannerEvent
createSnackbarEvent(Map<String, dynamic> data) → SnackbarEvent
createToastEvent(Map<String, dynamic> data) → ToastEvent