RoomMessage class

Constructors

RoomMessage({required String uuid, required String type, String? fromAccount, required String fromNick, String? fromAvatar, String? content, List<String?>? toAccounts, required int time, RoomMessageAttachment? attachment, RoomNotification? notification, int? eventType, String? operatorAccount, String? recallMessageId, required ChatroomType chatroomType})

Properties

attachment RoomMessageAttachment?
getter/setter pair
chatroomType ChatroomType
getter/setter pair
content String?
getter/setter pair
eventType int?
getter/setter pair
fromAccount String?
getter/setter pair
fromAvatar String?
getter/setter pair
fromNick String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
notification RoomNotification?
getter/setter pair
operatorAccount String?
getter/setter pair
recallMessageId String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time int
getter/setter pair
toAccounts List<String?>?
getter/setter pair
type String
getter/setter pair
uuid String
getter/setter pair

Methods

encode() Object
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

Static Methods

decode(Object result) RoomMessage