GenerateLoginTokenResponse class

Annotations
  • @_NameSource.new('generated')

Constructors

GenerateLoginTokenResponse({required int expiresInMs, required String loginToken})
GenerateLoginTokenResponse.fromJson(Map<String, Object?> json)

Properties

expiresInMs int
The time remaining in milliseconds until the homeserver will no longer accept the token. 120000 (2 minutes) is recommended as a default.
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
loginToken String
The login token for the m.login.token login flow.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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