InboxMessage class

Constructors

InboxMessage(int id, String campaignId, TextContent textContent, bool isClicked, Media? media, List<Action> action, String tag, String receivedTime, String expiry, Map<String, dynamic> payload)

Properties

action List<Action>
List of actions to be executed on click.
getter/setter pair
campaignId String
Unique identifier for a message.
getter/setter pair
expiry String
The time at which the message expiry.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int
internal identifier used by the SDK for storage.
getter/setter pair
isClicked bool
true if the message has been clicked by the user else false
getter/setter pair
media Media?
Media content associated with the message.
getter/setter pair
payload Map<String, dynamic>
Complete message payload.
getter/setter pair
receivedTime String
The time in which the message was received on the device.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tag String
Tag associated to the message.
getter/setter pair
textContent TextContent
Text content of the message. Instance of TextContent
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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