EMUserInfoManager class
用户属性类,用于获取和更新用户属性。
Constructors
Properties
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
clearUserInfoCache(
) → void - 清理内存中的用户属性。
-
fetchOwnInfo(
{int expireTime = 0}) → Future< EMUserInfo?> - 获取当前用户的属性信息。
-
fetchUserInfoById(
List< String> userIds, {int expireTime = 0}) → Future<Map< String, EMUserInfo> > - 根据用户 ID,获取指定用户的用户属性。
-
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< EMUserInfo> - 修改当前用户的属性信息。
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited