SnapdLoginResponse class Null safety

Response received when logging in.

Constructors

SnapdLoginResponse({int? id, String? username, String? email, String? macaroon, List<String> discharges = const [], List<String> sshKeys = const []})
const

Properties

discharges List<String>
Discharges provided bu the server.
final
email String?
Email address logged in with.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
id int?
final
macaroon String?
Macaroon provided by the server.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sshKeys List<String>
Secure Shell keys this user has.
final
username String?
Username logged in with.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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