AuthOwlSessionStore class
Holds the current session and notifies listeners when it changes.
Constructors
- AuthOwlSessionStore(AuthOwlTransport _transport)
Properties
-
changes
→ Stream<
AuthOwlSessionState> -
Emits on every change. Broadcast, so any number of widgets can listen.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → AuthOwlSessionState
-
no setter
Methods
-
clear(
) → Future< void> - Drop the local session without contacting the server.
-
dispose(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
{bool force = false}) → Future< AuthOwlSessionState> - Re-read the session from the server.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited