Country constructor

const Country({
  1. required String name,
  2. required String flagUrl,
  3. required City capital,
  4. required String lang,
  5. List<String>? langs,
  6. required String area,
  7. required String population,
  8. required Currency currency,
  9. List<Currency>? currencies,
  10. required String timeZone,
  11. required DateFormat dateFormat,
  12. required DrivingSide drivingSide,
  13. String? callingCode,
  14. String? isoCode,
  15. String? internetTLD,
  16. CalendarType? calendarType,
  17. required Continent continent,
})

Implementation

const Country({
  required this.name,
  required this.flagUrl,
  required this.capital,
  required this.lang,
  this.langs,
  required this.area,
  required this.population,
  required this.currency,
  this.currencies,
  required this.timeZone,
  required this.dateFormat,
  required this.drivingSide,
  this.callingCode,
  this.isoCode,
  this.internetTLD,
  this.calendarType,
  required this.continent,
});