Country constructor

Country({
  1. required List<State> states,
  2. required String name,
  3. required String iso2,
  4. required String iso3,
  5. required String phoneCode,
  6. required String currencyName,
  7. required String currencySymbol,
  8. required String tld,
  9. required String region,
  10. required String emoji,
  11. required String emojiU,
})

Implementation

Country({
  required this.states,
  required this.name,
  required this.iso2,
  required this.iso3,
  required this.phoneCode,
  required this.currencyName,
  required this.currencySymbol,
  required this.tld,
  required this.region,
  required this.emoji,
  required this.emojiU,
});