PhoneNumber.fromJson constructor
Implementation
factory PhoneNumber.fromJson(Map<String, dynamic> json) {
return PhoneNumber(
countryCode: json['country_code'],
e164: json['e164'],
national: json['national'],
type: _mapStringToPhoneNumberType(json['type'])!,
international: json['international'],
nationalNumber: json['national_number']);
}