NIMLoginInfo class Null safety

Authentication credentials used for login

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
Account
final
authType → NIMAuthType
Authentication type
@JsonKey(toJson: _valueOfNIMAuthType, fromJson: _authTypeFromValue), final
customClientType → int?
Custom client type. If the value is unspecified or less than 0, no custom type is used.
final
hashCode → int
The hash code for this object.
read-only, inherited
loginExt → String?
Custom field for login
final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
token → String
Token
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