ChatHelper class

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

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 Properties

uuid ↔ Uuid
getter/setter pair

Static Methods

addMessage(String? peerNo, int? timestamp, Future future) → dynamic
decrypt(dynamic key, dynamic input) String
encrypt(dynamic key, dynamic input) String
findConversationById({required String conversationId, required ChatConversationType type}) → dynamic
findOrCreateGroupConversation({String? conversationId, dynamic peers, dynamic peersDetail, dynamic groupName, dynamic thumbnail}) → dynamic
findOrCreateSoloConversation(dynamic peerId) → dynamic
generateConversationId() String
generateEncryptKey() String
getMessageStatus(String? peerNo, int? timestamp) → dynamic
getWhen(DateTime date) → dynamic
removeConversation(dynamic id) → dynamic
setLastMessageTime(dynamic conversationData, dynamic lastTime, {dynamic alsoMembersDetail = false}) → dynamic
setLastTimeTimestamp(dynamic conversationData, [dynamic timestamp]) → dynamic
updateConversationInfo(dynamic conversationId, dynamic data) → dynamic