FirebaseUser class

Represents a user.



isAnonymous → bool
isEmailVerified → bool
Returns true if the user's email is verified.
metadata FirebaseUserMetadata
providerData → List<UserInfo>
displayName → String
The name of the user.
read-only, inherited
email → String
The user’s email address.
read-only, inherited
hashCode → int
The hash code for this object.
read-only, inherited
phoneNumber → String
The user's phone number.
read-only, inherited
photoUrl → String
The URL of the user’s profile photo.
read-only, inherited
providerId → String
The provider identifier.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited
uid → String
The provider’s user ID for the user.
read-only, inherited


delete() → Future<void>
Deletes the current user (also signs out the user). [...]
getIdToken({bool refresh: false}) → Future<IdTokenResult>
Obtains the id token result for the current user, forcing a refresh if desired. [...]
linkWithCredential(AuthCredential credential) → Future<AuthResult>
Associates a user account from a third-party identity provider with this user and returns additional identity provider data. [...]
reauthenticateWithCredential(AuthCredential credential) → Future<AuthResult>
Renews the user’s authentication tokens by validating a fresh set of credentials supplied by the user and returns additional identity provider data. [...]
reload() → Future<void>
Manually refreshes the data of the current user (for example, attached providers, display name, and so on).
sendEmailVerification() → Future<void>
Initiates email verification for the user.
toString() → String
Returns a string representation of this object.
unlinkFromProvider(String provider) → Future<void>
Detaches the provider account from the current user. [...]
updateEmail(String email) → Future<void>
Updates the email address of the user. [...]
updatePassword(String password) → Future<void>
Updates the password of the user. [...]
updatePhoneNumberCredential(AuthCredential credential) → Future<void>
Updates the phone number of the user. [...]
updateProfile(UserUpdateInfo userUpdateInfo) → Future<void>
Updates the user profile information. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.


operator ==(dynamic other) → bool
The equality operator.