RoomEventItem class

A room Message metadata and content

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

drop() → void
Manually drops the object and unregisters the FinalizableHandle.
eventId() String?
ID of this event
eventType() String
one of Message/Redaction/UnableToDecrypt/FailedToParseMessageLike/FailedToParseState
inReplyTo() String?
original event id, if this msg is reply to another msg
isEditable() bool
Whether current user wrote this message and can modify it
msgContent() MsgContent?
covers text/image/audio/video/file/location/emote/sticker
msgType() String?
the type of massage, like text, image, audio, video, file etc
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
originServerTs() int
the server receiving timestamp in milliseconds
reactionKeys() FfiListFfiString
the emote key list that users reacted about this message
reactionRecords(String key) FfiListReactionRecord?
the details that users reacted using this emote key in this message
readUsers() FfiListFfiString
the list of users that read this message
receiptTs(String userId) int?
the details that users read this message
sender() String
The User, who sent that event
sendState() EventSendState?
Send state of the message to server valid only when initialized from timeline event item
toString() String
A string representation of this object.
inherited
wasEdited() bool
Whether this message was modified by author

Operators

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