AuthenticationService class
Constructors
Properties
- currentUser → User?
-
read-only
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- isAuthenticated → bool
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- token → String?
-
read-only
Methods
-
deleteUserAccount(
) → Future -
fetchUser(
) → Future< User?> -
isUserLoggedIn(
) → bool -
logout(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendSignInEmail(
String email) → Future -
signInWithCode(
String email, String code) → Future -
signInWithFacebook(
) → Future -
signInWithGoogle(
) → Future -
toString(
) → String -
A string representation of this object.
inherited
-
updateUserDetails(
{String? name, DateTime? dob, String? orgCode}) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited