AuthState class

User Authentication Status

If the user is authenticated, the isLoggedIn will be true.

When the user is authenticated, user and session will not be null.

Properties

hashCode int
The hash code for this object.
no setterinherited
isLoggedIn bool
Returns true if the user is authenticated
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
session Session?
The session object
final
user User?
The user object
final

Methods

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

Operators

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