Message class
Represents a message object retrieved from Adobe Experience Platform
Constructors
- Message({required String id, bool autoTrack = true})
- Message.fromMap(Map map)
-
factory
Properties
Methods
-
clear(
) → void -
Clears the message from the cached messages
override
-
dismiss(
{bool? suppressAutoTrack = false}) → void -
Signals to the UIServices that the message should be dismissed.
If autoTrack is true, calling this method will result in an "inapp.dismiss" Edge Event being dispatched.
If
suppressAutoTrack
set to true, the inapp.dismiss Edge Event will not be sent regardless of the autoTrack setting. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAutoTrack(
bool shouldAutoTrack) → void -
Sets the value of autoTrack on the message to
shouldAutoTrack
-
show(
) → void -
Signals to the UIServices that the message should be shown.
override
-
toString(
) → String -
A string representation of this object.
inherited
-
track(
String? interaction, MessagingEdgeEventType eventType) → void -
Generates an Edge Event for the provided
interaction
andeventType
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited