FirebaseAccountDetails typedef

FirebaseAccountDetails = ({String? email, String? fullName, Uri? image, String? phone, String userIdentifier, bool? verifiedEmail})

Details of the Firebase Account.

Some fields may be null depending on the authentication provider used within Firebase (e.g., phone auth may not have email).

Implementation

typedef FirebaseAccountDetails = ({
  /// Firebase's user identifier for this account.
  String userIdentifier,

  /// The email received from Firebase (may be null for phone auth).
  String? email,

  /// The user's full name (display name).
  String? fullName,

  /// The user's profile image URL.
  Uri? image,

  /// Whether the email is verified.
  bool? verifiedEmail,

  /// The phone number (only present for phone authentication).
  String? phone,
});