NEAuthService class Null safety

Authentication service

Constructors

NEAuthService()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
isLoggedIn → Future<bool>
Query the login status
read-only
onAuthEvent → Stream<NEAuthEvent>
Event stream for authentication status
read-only
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

login(String account, String token) → Future<VoidResult>
Login authentication account User account token User token
logout() → Future<VoidResult>
Logout
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