EndUser class final
Constructors
-
EndUser({required String id, required AccountType accountType, String? email, required EmailVerificationState emailVerificationState, String? phoneNumber, String? displayName, String? photoUrl, required List<
String> providers, required Map<String, Object?> profile, String? createdAt, String? updatedAt, String? lastSignInAt, required int version}) -
const
-
EndUser.fromJson(Map<
String, Object?> json) -
factory
Properties
- accountType → AccountType
-
guest accounts come from signInAsGuest and may be linked to full accounts later.
final
- createdAt → String?
-
final
- displayName → String?
-
final
- email → String?
-
final
- emailVerificationState → EmailVerificationState
-
Whether the account’s email address has been verified.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
End-user ID,
end_user_{ulid}.final - lastSignInAt → String?
-
final
- phoneNumber → String?
-
final
- photoUrl → String?
-
final
-
profile
→ Map<
String, Object?> -
The project’s declared auth profile fields by name (config-driven; missing values are null).
final
-
providers
→ List<
String> -
Providers linked to this account, e.g.
"emailPassword".final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updatedAt → String?
-
final
- version → int
-
End-user record version; increments on every profile write.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited