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
Static Methods
-
findConversationById(int id)
→ Future<ChatModel?>
-
-
findOrCreateGroupConversation({int? conversationId, List<String>? groupUserIds, String? groupName, String? picture})
→ Future<ChatModel>
-
-
findOrCreateSoloConversation(String username, {bool isAnonymouslyOfFirebaseId = false, bool isAnonymouslyOfMime = false})
→ Future<ChatModel>
-
-
getWhen(DateTime date)
→ dynamic
-
-
removeConversation(dynamic id)
→ dynamic
-
-
setFavorite({required String conversationId, required bool status, dynamic conversationData})
→ dynamic
-
-
setLastMessageTime(Map? conversationData, int lastMessageTime, Map? latestMessage, {dynamic alsoMembersDetail = false})
→ dynamic
-
-
setLastTimeTimestamp(ChatModel? model, [int? timestamp])
→ dynamic
-
-
updateConversationInfo(Map? conversationData, dynamic data)
→ dynamic
-