toJson method
Converts a CountryData instance into a JSON object.
Implementation
Map<String, dynamic> toJson() => {
"name": name,
"dial_code": dialCode,
"code": code,
};
Converts a CountryData instance into a JSON object.
Map<String, dynamic> toJson() => {
"name": name,
"dial_code": dialCode,
"code": code,
};