Country constructor

const Country({
  1. required String code,
  2. required String dialCode,
  3. required String displayCC,
  4. required String flag,
  5. required String fullCountryCode,
  6. required int minLength,
  7. required int maxLength,
  8. required String name,
  9. String? regionCode,
  10. String? pattern,
})

Implementation

const Country({
  required this.code,
  required this.dialCode,
  required this.displayCC,
  required this.flag,
  required this.fullCountryCode,
  required this.minLength,
  required this.maxLength,
  required this.name,
  this.regionCode,
  this.pattern,
});