ChatUtil class

Constructors

ChatUtil.new()

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 Methods

convertDateToHMStr(DateTime? date) String?
convertToSystemInfoFromGroupInfoChangedList(String groupID, String opUser, List<String> userList, List<V2TimGroupChangeInfo?> groupChangeInfoList) List<SystemMessageInfo>
convertToSystemInfoFromGroupTips(V2TimGroupTipsElem tipsElem) List<SystemMessageInfo>
convertToSystemInfoFromRecall(V2TimMessage message, V2TimUserFullInfo? operateUser, String? reason) RecallMessageSystemMessage
convertToUIMessage(V2TimMessage imMessage) MessageInfo
convertToUIMessageStatus(V2TimMessage imMessage) MessageStatus
dictionary2JsonData(Map<String, dynamic>? dictionary) → dynamic
generateMediaPath({required MessageType messageType, String? prefix, String? withExtension, bool isCache = false}) String
getActualMediaPath(MessageType messageType, String? mediaPath, String uuid, String? extension) Map<String, dynamic>
getGroupID(String? conversationID) String
getHomePath({bool isCache = false}) String
getMediaHomePath({required MessageType messageType, bool isCache = false}) String
getMemberShowName(V2TimGroupMemberInfo? info) String
getMemberShowNameFromTips(V2TimGroupTipsElem? tips, String? userId) String
getMembersShowName(List<V2TimGroupMemberInfo?>? infoList) List<String>
getMessageBody(V2TimMessage imMessage) MessageBody?
getMessageSenderName(V2TimMessage? message) String
getMessageType(V2TimMessage imMessage) MessageType
getUserID(String? conversationID) String
jsonData2Dictionary(dynamic jsonData) Map<String, dynamic>?