Country constructor

const Country({
  1. required String name,
  2. required String cca2,
  3. required String cca3,
  4. required String fips,
  5. required String ioc,
  6. required String fifa,
  7. required String emoji,
  8. required int code,
  9. required int currency,
  10. required int capital,
  11. required int domain,
  12. required int region,
  13. List<String>? subdivisionCodes,
  14. List<int>? callingCode,
})

Implementation

const Country({
  required this.name,
  required this.cca2,
  required this.cca3,
  required this.fips,
  required this.ioc,
  required this.fifa,
  required this.emoji,
  required this.code,
  required this.currency,
  required this.capital,
  required this.domain,
  required this.region,
  this.subdivisionCodes,
  this.callingCode,
});