toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'alpha2': alpha2,
'alpha3': alpha3,
'continent': continent,
'countryCode': countryCode,
'currencyCode': currencyCode,
'gec': gec,
'geo': geo.toJson(),
'internationalPrefix': internationalPrefix,
'ioc': ioc,
'isoLongName': isoLongName,
'isoShortName': isoShortName,
'name': name,
'flag': flag,
'dialCode': dialCode,
'languagesOfficial': languagesOfficial,
'languagesSpoken': languagesSpoken,
'nationalDestinationCodeLengths': nationalDestinationCodeLengths,
'nationalNumberLengths': nationalNumberLengths,
'nationalPrefix': nationalPrefix,
'nationality': nationality,
'number': number,
'postalCode': postalCode,
'postalCodeFormat': postalCodeFormat,
'region': region,
'unofficialNames': unofficialNames,
'addressFormat': addressFormat,
'altCurrency': altCurrency,
'isoShortNameByLocale': isoShortNameByLocale,
};
}