MailTm class Null safety

MailTm client (constant)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Static Properties

getAuths Map<String, Map<String, dynamic>>
Gets the auths Map.
read-only

Static Methods

loadAuths(Map<String, dynamic> _auths) → void
login({String? id, String? address, String? password, bool elseNew = true}) FutureOr<TMAccount>
Gets the account with the given id (Retrieved from auths) If auths doesn't contain the id, then address and password are required to load the account from api if then, the account isn't retrieved and elseNew is true a new account is created or else, an exception is thrown.
register({String? username, String? password, Domain? domain, int randomStringLength = 10}) Future<TMAccount>
Creates an account with the given username, password and domain If they're not set, they'll be randomized.