CountryModel constructor

const CountryModel({
  1. required String countryName,
  2. required Set<String> regions,
  3. required String iso2Code,
  4. required String intlDialCode,
  5. String flag = '🏳️',
  6. String? format = '... ... ... ...',
  7. int? orderPriority,
  8. Set<String>? areaCodes,
  9. String currentAreaCode = '',
})

Implementation

const CountryModel({
  required this.countryName,
  required this.regions,
  required this.iso2Code,
  required this.intlDialCode,
  this.flag = '🏳️',
  this.format = '... ... ... ...',
  this.orderPriority,
  this.areaCodes,
  this.currentAreaCode = '',
});