AccountInfo.fromJson constructor
Parses a AccountInfo from TDLib JSON.
Implementation
factory AccountInfo.fromJson(Map<String, dynamic> json) => AccountInfo(
registrationMonth: _readInt(json['registration_month']),
registrationYear: _readInt(json['registration_year']),
phoneNumberCountryCode: _readString(json['phone_number_country_code']),
lastNameChangeDate: _readInt(json['last_name_change_date']),
lastPhotoChangeDate: _readInt(json['last_photo_change_date']),
);