PersonalDetails class

Implemented types

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. firstName First name of the user written in English; 1-255 characters . middleName Middle name of the user written in English; 0-255 characters . lastName Last name of the user written in English; 1-255 characters. nativeFirstName Native first name of the user; 1-255 characters . nativeMiddleName Native middle name of the user; 0-255 characters . nativeLastName Native last name of the user; 1-255 characters. birthdate Birthdate of the user . gender Gender of the user, "male" or "female" . countryCode A two-letter ISO 3166-1 alpha-2 country code of the user's country . residenceCountryCode A two-letter ISO 3166-1 alpha-2 country code of the user's residence country
PersonalDetails.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

birthdate Date
read / write
countryCode String
read / write
firstName String
read / write
gender String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
lastName String
read / write
middleName String
read / write
nativeFirstName String
read / write
nativeLastName String
read / write
nativeMiddleName String
read / write
residenceCountryCode String
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
Returns a string representation of this object.
inherited

Operators

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

Constants

CONSTRUCTOR → const String
"personalDetails"