Message class

Message object representation

See also:

Constructors

Message()

Properties

createdAt → DateTime
date when the message was created
read-only
id → String
identifier of the message
read-only
metadata → Map<String, dynamic>
contains custom metadata you need related to a message, empty by default
read-only
senderId → String
User identifier of the message
read-only
status MessageStatus
status of the message
read-only
statusDetails → List<UserMessageStatus>
contains the status of the message specific to each users in the conversation
read-only
text → String
content of the message
read-only
updatedAt → DateTime
date when the message was updated, null if never updated
read-only
hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited