CountryData constructor

CountryData({
  1. required String? name,
  2. required String? dialCode,
  3. required String? code,
})

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,
});