UserInfo class
Is a friend not in the blacklist 是好友不在黑名单 Not a friend on the blacklist 不是好友在黑名单 Not a friend is not on the blacklist 不是好友不在黑名单
Constructors
- UserInfo({PublicUserInfo? publicInfo, FriendInfo? friendInfo, BlacklistInfo? blackInfo, bool? isFriendship, bool? isBlacklist, String? userID, String? nickname, String? faceURL, String? phoneNumber, int? birth, int? gender, String? email, String? ex, int? createTime, String? remark, int? globalRecvMsgOpt})
-
UserInfo.fromJson(Map<
String, dynamic> json)
Properties
- birth ↔ int?
-
出生时间
getter/setter pair
- blackInfo ↔ BlacklistInfo?
-
黑名单资料
getter/setter pair
- createTime ↔ int?
-
创建时间
getter/setter pair
- email ↔ String?
-
邮箱
getter/setter pair
- ex ↔ String?
-
扩展字段
getter/setter pair
- faceURL ↔ String?
-
头像
getter/setter pair
- friendInfo ↔ FriendInfo?
-
好友才能查看的资料
getter/setter pair
- gender ↔ int?
-
性别
getter/setter pair
- globalRecvMsgOpt ↔ int?
-
全局免打扰 0:正常;1:不接受消息;2:接受在线消息不接受离线消息;
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- isBlacklist ↔ bool?
-
是否黑名单
getter/setter pair
- isFriendship ↔ bool?
-
是否好友关系
getter/setter pair
- isMale → bool
-
no setter
- nickname ↔ String?
-
用户昵称
getter/setter pair
- phoneNumber ↔ String?
-
手机号
getter/setter pair
- publicInfo ↔ PublicUserInfo?
-
用户公开的资料
getter/setter pair
- remark ↔ String?
-
备注
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userID ↔ String?
-
用户id
getter/setter pair
Methods
-
getShowName(
) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override