ChatRoomNotifier class

Constructors

ChatRoomNotifier({required String roomId, required dynamic ref})

Properties

hashCode int
The hash code for this object.
no setterinherited
ref → dynamic
final
roomId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeline ↔ dynamic
getter/setter pair

Methods

fetchMediaBinary(String? msgType, String eventId, String msgId) Future<void>
fetchOriginalContent(String originalId, String msgId) Future<void>
getRepliedTo(dynamic message) String?
handleDiff(dynamic diff) Future<void>
handleEndReached() Future<void>
handlePreviewDataFetched(dynamic message, dynamic previewData) → void
insertMessage(int to, dynamic m) → void
loadMore({bool failOnError = false}) Future<void>
messagesCopy() List
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseMessage(dynamic message) → dynamic
removeMessage(int idx) → void
replaceMessageAt(int index, dynamic m) → void
resetMessages() → void
setMessages(List messages) → void
toString() String
A string representation of this object.
inherited

Operators

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