ChatUserInfo class

~english The ChatUserInfo class, which contains the user attributes, such as the nickname, description, and avatar. ~end

~chinese 用户属性类。 ~end

Constructors

ChatUserInfo.fromJson(Map map)
factory

Properties

avatarUrl String?
~english Gets the avatar URL of the user. ~end
final
birth String?
~english Gets the user's data of birth. ~end
final
expireTime int
~english Gets the time period(seconds) when the user attributes in the cache expire. If the interval between two callers is less than or equal to the value you set in the parameter, user attributes are obtained directly from the local cache; otherwise, they are obtained from the server. For example, if you set this parameter to 120(2 minutes), once this method is called again within 2 minutes, the SDK returns the attributes obtained last time. ~end
final
ext String?
~english Gets the user's extension information. ~end
final
gender int
~english Gets the user's gender.
final
hashCode int
The hash code for this object.
no setterinherited
mail String?
~english Gets the email address of the user. ~end
final
nickName String?
~english Gets the user's nickname. ~end
final
phone String?
~english Gets the mobile numbers of the user. ~end
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sign String?
~english Gets the user's signature. ~end
final
userId String
~english Gets the userId. ~end
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