TUIMessage class

1.5 Message

Constructors

TUIMessage({required String messageId, required String message, required int timestamp, required String userId, required String userName, required String avatarUrl})
TUIMessage.fromJson(Map<String, dynamic> json)

Properties

avatarUrl String
Message Sender Avatar
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
message String
Message Text
getter/setter pair
messageId String
Message ID
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp int
Message Time
getter/setter pair
userId String
Message Sender
getter/setter pair
userName String
Message Sender Nickname
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.
inherited

Operators

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