PersonalDetails class

Contains the user's personal details.

Inheritance
Available Extensions

Constructors

PersonalDetails({required String first_name, required String middle_name, required String last_name, required String native_first_name, required String native_middle_name, required String native_last_name, required Date birthdate, required String gender, required String country_code, required String residence_country_code, int? extra, int? clientId})
Contains the user's personal details

Properties

birthdate Date
Birthdate of the user.
read / write
clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
country_code String
A two-letter ISO 3166-1 alpha-2 country code of the user's country.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
first_name String
First name of the user written in English; 1-255 characters.
read / write
gender String
Gender of the user, "male" or "female".
read / write
hashCode int
The hash code for this object.
read-onlyinherited
last_name String
Last name of the user written in English; 1-255 characters.
read / write
middle_name String
Middle name of the user written in English; 0-255 characters.
read / write
native_first_name String
Native first name of the user; 1-255 characters.
read / write
native_last_name String
Native last name of the user; 1-255 characters.
read / write
native_middle_name String
Native middle name of the user; 0-255 characters.
read / write
residence_country_code String
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-onlyinherited

Methods

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

Operators

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

Static Methods

fromMap(Map<String, dynamic>? _map) PersonalDetails?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"personalDetails"