EMUserInfo class

用户属性类。

Constructors

EMUserInfo.fromJson(Map map)
factory

Properties

avatarUrl → String?
用户头像。
final
birth → String?
用户生日。
final
expireTime → int
获取缓存中的用户属性到期时的时间段(秒)。如果两个调用者之间的间隔小于或等于参数中设置的值,则直接从本地缓存获取用户属性; 否则,从服务器获取。例如,如果将该参数设置为120(2分钟),则在2分钟内再次调用该方法,SDK将返回上次获取的属性。
final
ext → String?
用户自定义属性字段。
final
gender → int
用户性别。
final
hashCode → int
The hash code for this object.
no setterinherited
mail → String?
用户邮箱。
final
nickName → String?
用户昵称。
final
phone → String?
用户手机号。
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sign → String?
用户签名。
final
userId → String
用户 ID。
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map
toString() → String
A string representation of this object.
inherited

Operators

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