Profile class

Profile class, contains the infos of an user

Annotations
  • @freezed

Constructors

Profile({String? uid, String? givenName, String? middleName, String? familyName, String? name, String? nickname, String? birthdate, String? profileURL, String? picture, String? externalId, List<String>? authTypes, LoginSummary? loginSummary, String? username, String? gender, String? email, bool? emailVerified, Emails? emails, String? phoneNumber, bool? phoneNumberVerified, List<ProfileAddress>? addresses, String? locale, String? bio, Map<String, Object?>? customFields, Map<String, Consent>? consents, String? createdAt, String? updatedAt, bool? liteOnly, String? company})
Profile default constructor
const
factory

Properties

addresses List<ProfileAddress>?
The user list of addresses
no setterinherited
authTypes List<String>?
The user list of authentication types
no setterinherited
bio String?
The user bio
no setterinherited
birthdate String?
The user birthdate
no setterinherited
company String?
The user company
no setterinherited
consents Map<String, Consent>?
The user consents
no setterinherited
copyWith → $ProfileCopyWith<Profile>
no setterinherited
createdAt String?
The time the user's profile was created
no setterinherited
customFields Map<String, Object?>?
The custom fields linked to your user It must match the ones you have created in your reachFive console
no setterinherited
email String?
The user email
no setterinherited
emails Emails?
The user list of verified/unverified emails
no setterinherited
emailVerified bool?
Used to check if an user email is verified or not
no setterinherited
externalId String?
The user external id
no setterinherited
familyName String?
The user family name
no setterinherited
gender String?
The user gender
no setterinherited
givenName String?
The user given name
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
liteOnly bool?
Used to know if the user profile is lite or not
no setterinherited
locale String?
The user locale
no setterinherited
loginSummary LoginSummary?
The user LoginSummary
no setterinherited
middleName String?
The user middle name
no setterinherited
name String?
The user name
no setterinherited
nickname String?
The user nickname
no setterinherited
phoneNumber String?
The user phone number
no setterinherited
phoneNumberVerified bool?
Used to check if an user phoneNumber is verified or not
no setterinherited
picture String?
The user picture
no setterinherited
profileURL String?
The user profile url
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid String?
The user id
no setterinherited
updatedAt String?
The last time the user's profile was updated
no setterinherited
username String?
The user username
no setterinherited

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