PhoneNumberInfo.fromMap constructor

PhoneNumberInfo.fromMap(
  1. Map<String, dynamic> map
)

Implementation

PhoneNumberInfo.fromMap(Map<String, dynamic> map) {
  extra = map['@extra'];
  client_id = map['@client_id'];
  if (map['country'] != null) {
    country = TdApiMap.fromMap(map['country']) as CountryInfo;
  }
  country_calling_code = map['country_calling_code'];
  formatted_phone_number = map['formatted_phone_number'];
  is_anonymous = map['is_anonymous'];
}