UserInfo class

Represents user data returned from an identity provider.

Constructors

UserInfo({required String providerId, required String uid, String? displayName, String? photoURL, String? email, String? phoneNumber})
UserInfo.fromJson(Map<String, dynamic> json)

Properties

displayName String?
The users display name.
final
email String?
The users email address.
final
hashCode int
The hash code for this object.
no setterinherited
phoneNumber String?
Returns the users phone number.
final
photoURL String?
Returns a photo URL for the user.
final
providerId String
The federated provider ID.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String
The user's unique ID.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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