Message class

Represents a message object retrieved from Adobe Experience Platform

Inheritance

Constructors

Message({required String id, bool autoTrack = true})
Message.fromMap(Map map)
factory

Properties

autoTrack bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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 and eventType.

Operators

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