TimelineStream class

Timeline with Room Events

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.
editMessage(String eventId, MsgDraft draft) Future<bool>
modify message using draft
getMessage(String eventId) Future<TimelineItem>
get the specific message identified by the event_id
markAsRead(bool public) Future<bool>
Mark this room as read. public indicate whether the marking should be shared with other users.
messagesStream() Stream<TimelineItemDiff>
Fires whenever new diff found
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
paginateBackwards(int count) Future<bool>
Get the next count messages backwards, and return whether it reached the end
replyMessage(String eventId, MsgDraft draft) Future<bool>
send reply to event
sendMessage(MsgDraft draft) Future<bool>
send message using draft
toggleReaction(String eventId, String key) Future<bool>
send reaction to event if sent twice, reaction is redacted
toString() String
A string representation of this object.
inherited

Operators

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