Tools class

Constructors

Tools()

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

autoInrecKey int
getter/setter pair

Static Methods

ccidtoNativecid(String ccid, int convType) String
converOpV2TimGroupMemberInfo(Map<String, dynamic> elem) → V2TimGroupMemberInfo
convert2DartMap(dynamic objectArray, String key, String value) Map<String, String>?
convert2DartTopicInfo(Map<String, dynamic> json) Future<V2TimTopicInfo>
convert2GroupAtInfo(dynamic json) → V2TimGroupAtInfo
convertConvInfo2Dart(dynamic jsonConvInfo) Future<V2TimConversation>
convertElemMsg2Dart(dynamic jsonMessage) Future<Map<String, dynamic>>
convertGroupAtInfo(dynamic jsonGroupAtInfo) → V2TimGroupAtInfo
convertid2convType(String convid) int
convertMessage2Dart(dynamic jsonMessage) Future<V2TimMessage>
converV2TimGroupMemberInfo(Map<String, dynamic> elem) → V2TimGroupMemberInfo
createNativeMessage({required List<Map<String, dynamic>> elem}) Map<String, dynamic>
createNativeSendMessage({required Map<String, dynamic> createdMessage, required String groupId, required String userID, int? priority, bool? onlineUserOnly, bool? isExcludedFromUnreadCount, bool? isExcludedFromLastMessage, bool? isExcludedFromContentModeration, bool? needReadReceipt, Map<String, dynamic>? offlinePushInfo, String? cloudCustomData, String? localCustomData, bool? isSupportMessageExtension = false}) Map<String, dynamic>
dart2cgroupType(String type) int
dartElemTypeToNative(int type) int
dartMemberChange2MemberChangeInfo(dynamic jsonMemberChangeInfo) → V2TimGroupMemberChangeInfo
friendProfile2DartFriendInfo(dynamic jsonInfo) → V2TimFriendInfo
friendProfile2DartFriendResult(dynamic jsonInfo) → V2TimFriendInfoResult
generateNativeMemberListByDartParam(List<V2TimGroupMember> memberList) List<Map<String, dynamic>>
generateNativeOfflinePushInfoByDart(OfflinePushInfo? info) Map<String, dynamic>?
generateNativeUserInfoByDartParam(V2TimUserFullInfo info) Map<String, dynamic>
generateRandomString(int length) String
generateUniqueString() String
generateUserData({String? methodName}) String
getC2CRecvMsgOptResult2DartReceiveMessageOptInfo(dynamic jsonOpt) → V2TimReceiveMessageOptInfo
getDownloadPath(String name) Future<String>
getDownloadPathV2(String uuid, String name) Future<String>
getDyLibNameByPlatform({dynamic isOrigin = false}) List<String>
getExtFormUrl(String fileurl) String
getMulitiMessageFileExt(Map<String, dynamic> elem, int image_type, bool isSnap) String
getMulitiMessageFileID(Map<String, dynamic> elem, int image_type, bool isSnap) String
getMulitiMessageFileIDV2(Map<String, dynamic> elem, int image_type, bool isSnap) Map<String, String>
getMulitiMessageFileUrl(Map<String, dynamic> elem, int image_type, bool isSnap) String
groupBaseInfo2DartGroupInfo(dynamic jsonInfo) → V2TimGroupInfo
groupChangeInfo2CGroupChange(V2TimGroupChangeInfo? group) Map<String, dynamic>
groupChangeInfo2dartGroupChangeInfo(dynamic jsonGroupChangeInfo) → V2TimGroupChangeInfo
groupDetail2DartGroupInfo(dynamic jsonInfo) → V2TimGroupInfo
groupInfoResult2DartInfoResult(dynamic jsonInfo) → V2TimGroupInfoResult
groupMemberInfo2CGroupMemberInfo(V2TimGroupMemberInfo? memberList) Map<String, dynamic>
groupMemberInfo2CUserProfile(V2TimGroupMemberInfo? member) Map<String, dynamic>
groupMemberInfo2dartGroupMemberInfo(dynamic jsonGroupMemberInfo) → V2TimGroupMemberInfo
groupMemberRole2Dart(int type) int
groupType2Dart(int? type) String
inviteMemberResult2DartOpResult(dynamic jsonResult) → V2TimGroupMemberOperationResult
memberChangeInfo2CMemberChange(V2TimGroupMemberChangeInfo? member) Map<String, dynamic>
memberInfo2DartFullInfo(dynamic jsonInfo) → V2TimGroupMemberFullInfo
memberInfoListResult2DartInfoResult(dynamic jsonInfo) → V2TimGroupMemberInfoResult
membersResult2DartSearchResult(dynamic jsonResult) → V2GroupMemberInfoSearchResult
messageElemType2DartMessageElemType(int type) int
messagePriority2Dart(int priority) int
nativecidtoCcid(String nativecid) String
offLinePushConfig2Dart(dynamic jsonPushInfo) → OfflinePushInfo
pointerInt82String(Pointer<Uint8> data) String
rmJsonNullValue(Map<String, dynamic> input) Map<String, dynamic>
searchResult2DartMessageSearchResult(dynamic jsonResult) → V2TimMessageSearchResult
searchResultItem2DartSearchResultItem(dynamic jsonItem) Future<V2TimMessageSearchResultItem>
string2PointerInt8(String data) Pointer<Uint8>
userProfile2DartFriendInfo(dynamic jsonInfo) → V2TimFriendInfo
userProfile2dartGroupMemberInfo(dynamic jsonUserInfo) → V2TimGroupMemberInfo
userProfile2DartUserFullInfo(dynamic jsonInfo) → V2TimUserFullInfo
userStatus2DartUserStatus(dynamic jsonUserStatus) → V2TimUserStatus
v2TimMessage2CMessage(V2TimMessage message) Pointer<Uint8>
v2TimMessageElem2CElem(int type, V2TimMessage message) Map<String, dynamic>