UserRecord class

Represents a user.

Constructors

UserRecord.fromJson(Map<String, dynamic> map)

Properties

customClaims Map<String, dynamic>?
The user's custom claims object if available, typically used to define user roles and propagated to an authenticated user's ID token.
no setter
disabled bool
Whether or not the user is disabled.
no setter
displayName String?
The user's display name.
no setter
email String?
The user's primary email, if set.
no setter
emailVerified bool
Whether or not the user's primary email is verified.
no setter
hashCode int
The hash code for this object.
no setterinherited
metadata UserMetadata
Additional metadata about the user.
no setter
multiFactor MultiFactorSettings
The multi-factor related properties for the current user, if available.
no setter
passwordHash String?
The user's hashed password (base64-encoded), only if Firebase Auth hashing algorithm (SCRYPT) is used.
no setter
passwordSalt String?
The user's password salt (base64-encoded), only if Firebase Auth hashing algorithm (SCRYPT) is used.
no setter
phoneNumber String?
The user's primary phone number, if set.
no setter
photoUrl Uri?
The user's photo URL.
no setter
providerData List<UserInfo>
An array of providers (for example, Google, Facebook) linked to the user.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tenantId String?
The ID of the tenant the user belongs to, if available.
no setter
tokensValidAfterTime DateTime?
The date the user's tokens are valid after.
no setter
uid String
The user's uid.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → dynamic
Returns the JSON representation of the snapshot
inherited
toString() String
A string representation of this object.
inherited

Operators

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