ChatUserInfoManager class

~english The user attribute manager class, which gets and sets the user attributes. ~end

~chinese 用户属性类,用于获取和更新用户属性。 ~end

Constructors

ChatUserInfoManager()

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

clearUserInfoCache() → void
~english clear all userInfo cache. ~end
fetchOwnInfo({int expireTime = 0}) Future<ChatUserInfo?>
~english Gets the current user's attributes from the server.
fetchUserInfoById(List<String> userIds, {int expireTime = 0}) Future<Map<String, ChatUserInfo>>
~english Gets user attributes of the specified users.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateUserInfo({String? nickname, String? avatarUrl, String? mail, String? phone, int? gender, String? sign, String? birth, String? ext}) Future<ChatUserInfo>
~english Modifies the user attributes of the current user.

Operators

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