A mixin that provides functions for listening to changes to the auth state.
The functions are used in the AuthService class. You can call functions from this mixin as follows:
ref.read(authServiceProvider).authStateChanges();
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- instance ↔ FirebaseAuth
-
latefinal
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authStateChanges(
) → Stream< User?> - Notifies about changes to the user's sign-in state as a stream.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited