User class
This class maps data from OpenIdClaims
in openid_client
package.
This step is for the users to avoid adding another dependency directly to
their application and maintain it.
Constructors
- User({required String subject, String? name, String? givenName, String? familyName, String? middleName, String? nickname, String? preferredUsername, Uri? profile, Uri? picture, Uri? website, String? email, bool? emailVerified, String? gender, String? birthdate, String? zoneinfo, String? locale, String? phoneNumber, bool? phoneNumberVerified, String? formattedAddress, String? streetAddress, String? locality, String? region, String? postalCode, String? country, DateTime? updatedAt})
- User.fromUserInfo(UserInfo userInfo)
-
factory
Properties
- birthdate → String?
-
final
- country → String?
-
final
- email → String?
-
final
- emailVerified → bool?
-
final
- familyName → String?
-
final
- formattedAddress → String?
-
final
- gender → String?
-
final
- givenName → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- locale → String?
-
final
- locality → String?
-
final
- middleName → String?
-
final
- name → String?
-
final
- nickname → String?
-
final
- phoneNumber → String?
-
final
- phoneNumberVerified → bool?
-
final
- picture → Uri?
-
final
- postalCode → String?
-
final
- preferredUsername → String?
-
final
- profile → Uri?
-
final
- region → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- streetAddress → String?
-
final
- subject → String
-
final
- updatedAt → DateTime?
-
final
- website → Uri?
-
final
- zoneinfo → String?
-
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