User class

Constructors

User.new({String userId = '', String name = '', String avatarUrl = '', TUIRole role = TUIRole.generalUser, int fansCount = 0, LinkStatus linkStatus = LinkStatus.none})
User.fromTUILoginUserInfo(TUILoginUserInfo loginUserInfo)
User.fromTUIUserInfo(TUIUserInfo userInfo)
User.fromV2TIMUserFullInfo(V2TimUserFullInfo imUserInfo)

Properties

avatarUrl String
getter/setter pair
fansCount int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
linkStatus ValueNotifier<LinkStatus>
getter/setter pair
name String
getter/setter pair
role TUIRole
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
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