PersonalDetails class

Inheritance

Constructors

PersonalDetails({String firstName, String middleName, String lastName, String nativeFirstName, String nativeMiddleName, String nativeLastName, Date birthdate, String gender, String countryCode, String residenceCountryCode})
Contains the user's personal details
PersonalDetails.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

birthdate Date
birthdate Birthdate of the user
read / write
countryCode String
countryCode A two-letter ISO 3166-1 alpha-2 country code of the user's country
read / write
firstName String
firstName First name of the user written in English; 1-255 characters
read / write
gender String
gender Gender of the user, "male" or "female"
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lastName String
lastName Last name of the user written in English; 1-255 characters
read / write
middleName String
middleName Middle name of the user written in English; 0-255 characters
read / write
nativeFirstName String
nativeFirstName Native first name of the user; 1-255 characters
read / write
nativeLastName String
nativeLastName Native last name of the user; 1-255 characters
read / write
nativeMiddleName String
nativeMiddleName Native middle name of the user; 0-255 characters
read / write
residenceCountryCode String
residenceCountryCode A two-letter ISO 3166-1 alpha-2 country code of the user's residence country
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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

Constants

CONSTRUCTOR → const String
'personalDetails'