ChatUserInfoManager class

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

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
clear all userInfo cache.
fetchOwnInfo({int expireTime = 0}) Future<ChatUserInfo?>
Gets the current user's attributes from the server.
fetchUserInfoById(List<String> userIds, {int expireTime = 0}) Future<Map<String, ChatUserInfo>>
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>
Modifies the user attributes of the current user.

Operators

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