NIMLoginInfo class Null safety
用户登录认证信息
- Annotations
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
-
认证类型
@JsonKey(toJson: _valueOfNIMAuthType, fromJson: _authTypeFromValue), final
- customClientType → int?
-
自定义客户端类型,为空、小于等于0视为没有自定义类型
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- loginExt → String?
-
登录自定义字段 [...]
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- token → String
-
令牌
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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