CountryData constructor
Constructs a CountryData instance with the given name
, dialCode
, and code
.
Parameters:
name
: The name of the country.dialCode
: The dial code of the country.code
: The ISO code of the country.
Implementation
CountryData({
required this.name,
required this.dialCode,
required this.code,
});