AuthManager<T> class
Constructors
Properties
- currentUser → T?
-
no setter
-
getUserFromServer
→ Future<
T?> Function(T? current)? -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isLoggedIn → bool
-
no setter
- key → String
-
final
-
parser
→ T Function(Map<
String, dynamic> ) -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serializer
→ Map<
String, dynamic> Function(T user) -
final
-
subject
→ BehaviorSubject<
AuthStatus> -
final
-
userSubject
→ BehaviorSubject<
T?> -
final
Methods
-
add(
AuthStatus status, [bool force = false]) → dynamic -
close(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
) → Future -
save(
T? user) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited