UserEntity class

用户实体

Constructors

UserEntity({String? nickName, String? faceUrl, String? selfSignature, UserGenderEnum? gender, int? role, int? level, UserAllowTypeEnum? allowType, Map<String, String>? customInfo})
UserEntity.fromJson(dynamic data)

Properties

allowType UserAllowTypeEnum?
好友验证方式
getter/setter pair
customInfo Map<String, String>?
自定义字段
getter/setter pair
faceUrl String?
头像
getter/setter pair
gender UserGenderEnum?
性别
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
level int?
等级
getter/setter pair
nickName String?
昵称
getter/setter pair
role int?
角色
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selfSignature String?
签名
getter/setter pair
userID String
ID
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.
inherited

Operators

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