AuthService class

///////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////

Constructors

AuthService.new()

Properties

authStateChanges → Stream<User?>
no setter
currentUser → User?
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

Methods

getCurrentUser() → User?
Gets the current user
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetPassword(String email) → Future<void>
Sends a password reset email
signInWithEmailAndPassword(String email, String password) → Future<UserCredential>
Signs in an existing user with email and password
signInWithGoogle() → Future<UserCredential?>
//////////// //////////// Signs in with Google
signOut() → Future<void>
//////////// //////////// Signs out the current user
signUpWithEmailAndPassword(String email, String password, String displayName) → Future<UserCredential>
//////////// //////////// Signs up a new user with email and password
toString() → String
A string representation of this object.
inherited

Operators

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