NIMLoginInfo class

用户登录认证信息

Annotations
  • @JsonSerializable()

Constructors

NIMLoginInfo({required String account, required String token, NIMAuthType authType = NIMAuthType.authTypeDefault, String? loginExt, int? customClientType})
NIMLoginInfo.fromMap(Map<String, dynamic> map)
factory

Properties

account String
账号
final
authType NIMAuthType
认证类型
final
customClientType int?
自定义客户端类型,为空、小于等于0视为没有自定义类型
final
hashCode int
The hash code for this object.
no setterinherited
loginExt String?
登录自定义字段
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token String
令牌
final

Methods

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

Operators

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