ChatMessage class
A single chat message.
Constructors
Properties
- avatarUrl → String?
-
Sender avatar URL.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isMine → bool
-
Whether the message was sent by the current user.
final
- isRead → bool
-
Read receipt for outgoing messages.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sender → String?
-
Sender name (shown for incoming messages).
final
- text → String
-
Message body.
final
- time → DateTime
-
Message timestamp.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited