Country.fromMap constructor
Implementation
factory Country.fromMap(Map<String, dynamic> map) {
return Country(
phoneCode: map['e164_cc'],
countryCode: map['iso2_cc'],
e164Sc: map['e164_sc'],
geographic: map['geographic'],
level: map['level'],
name: map['name'],
nameLocalized: map['nameLocalized'],
example: map['example'],
displayName: map['display_name'],
fullExampleWithPlusSign: map['full_example_with_plus_sign'],
displayNameNoCountryCode: map['display_name_no_e164_cc'],
e164Key: map['e164_key'],
phoneNumberLength: map['phone_length']);
}