toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'first_name': firstName,
'middle_name': middleName,
'last_name': lastName,
'native_first_name': nativeFirstName,
'native_middle_name': nativeMiddleName,
'native_last_name': nativeLastName,
'birthdate': birthdate.toJson(),
'gender': gender,
'country_code': countryCode,
'residence_country_code': residenceCountryCode,
};