UserEntity class

Represents an authenticated user in the application.

This entity contains all the user information returned from Firebase Auth. It is immutable and uses Equatable for value comparison.

Implementers

Constructors

UserEntity({required String uid, String? email, String? displayName, String? photoURL, String? phoneNumber, bool isEmailVerified = false, List<String> providerData = const [], UserMetadata? metadata})
Creates a UserEntity.
const

Properties

displayName → String?
The user's display name, if available.
final
email → String?
The user's email address, if available.
final
hashCode → int
The hash code for this object.
no setterinherited
isEmailVerified → bool
Whether the user's email has been verified.
final
metadata → UserMetadata?
Metadata about the user's account creation and sign-in times.
final
phoneNumber → String?
The user's phone number, if available.
final
photoURL → String?
The user's profile photo URL, if available.
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
providerData → List<String>
List of authentication provider IDs linked to this user.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
uid → String
The unique identifier for this user.
final

Methods

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