User class

云信好友

Constructors

User({required String? userId, String? alias, String? ext, String? serverExt, bool? notifyForNewMsg, bool? isInBlackList, UserInfo? userInfo})

Properties

alias String?
备注名,长度限制为128个字符
getter/setter pair
ext String?
扩展字段
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isInBlackList bool?
是否在黑名单
getter/setter pair
notifyForNewMsg bool?
是否需要消息提醒
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverExt String?
服务端扩展字段
getter/setter pair
userId String?
用户ID
final
userInfo UserInfo?
用户资料
getter/setter pair

Methods

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

Operators

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

Static Methods

fromMap(Map? map) User?