Country constructor

const Country({
  1. required String name,
  2. required String flag,
  3. required String code,
  4. required String dialCode,
  5. required Map<String, String> nameTranslations,
  6. required int minLength,
  7. required int maxLength,
  8. String regionCode = "",
})

Implementation

const Country({
  required this.name,
  required this.flag,
  required this.code,
  required this.dialCode,
  required this.nameTranslations,
  required this.minLength,
  required this.maxLength,
  this.regionCode = "",
});