CountryCode constructor
const
CountryCode({})
A single country code item.
Contains a name, code, and dialCode.
CountryCodes are immutable and can be copied using copyWith and which are basically from List of Map<String, String> that are converted using the CountryCode.fromMap method.
You can also get the widget that contains the CountryCode's flag image by calling the flagImage getter method.
Implementation
const CountryCode({
required this.name,
required this.code,
required this.dialCode,
this.nationalSignificantNumber,
});