Country constructor

Country({
  1. required int id,
  2. required String lang,
  3. required String code,
  4. required String alpha3Code,
  5. required String name,
  6. required List<String> allowedDocs,
  7. required String flag,
  8. required Map<String, dynamic> avatar,
  9. required List<DocumentType> documents,
})

Implementation

Country({
  required this.id,
  required this.lang,
  required this.code,
  required this.alpha3Code,
  required this.name,
  required this.allowedDocs,
  required this.flag,
  required this.avatar,
  required this.documents,
});