IMUser class

IM用户信息

Constructors

IMUser.new({String? userId, String? username, String? avatar, int? sex, int? unreadCount, int? online, String? groupId, String? userType, String? nickname, String? introduction})
IMUser.fromJson(Map<String, dynamic> json)
factory

Properties

avatar String?
联系人头像
getter/setter pair
firendStatus int?
本地字段 好友状态: 0非好友 1审核中 2非好友
getter/setter pair
groupId String?
群组成员时模型字段
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
introduction String?
getter/setter pair
nickname String?
getter/setter pair
online int?
"online":"是否在线(0:离线,1:在线)"
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sex int?
联系人性别
getter/setter pair
unreadCount int?
本地字段。 未读消息数,用于在聊天历史列表设置未读消息个数。
getter/setter pair
userId String?
注册时返回的用户id。
getter/setter pair
username String?
联系人名称
getter/setter pair
userType String?
getter/setter pair

Methods

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.
override

Operators

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