SyncLoginEvent enum Null safety

Login state change event.

Constants

credentialsRejected → const SyncLoginEvent

Client's credentials has been rejectd by the server. Connection will NOT be retried until new credentials are provided.

const SyncLoginEvent(1)
loggedIn → const SyncLoginEvent

Client has successfully logged in to the server.

const SyncLoginEvent(0)
unknownError → const SyncLoginEvent

An unknown error occured during authentication.

const SyncLoginEvent(2)
values → const List<SyncLoginEvent>

A constant List of the values in this enum, in order of their declaration.

const List<SyncLoginEvent>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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. [...]
override

Operators

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