PhoneNumberInfo.fromJson constructor

PhoneNumberInfo.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory PhoneNumberInfo.fromJson(Map<String, dynamic> json) => PhoneNumberInfo(
  country: json['country'] == null ? null : CountryInfo.fromJson(json['country']),
  countryCallingCode: json['country_calling_code'],
  formattedPhoneNumber: json['formatted_phone_number'],
  extra: json['@extra'],
  clientId: json['@client_id'],
);