Country class

Constructors

Country({required int id, required String lang, required String code, required String alpha3Code, required String name, required List<String> allowedDocs, required String flag, required Map<String, dynamic> avatar, required List<DocumentType> documents})
Country.fromJson(Map<String, dynamic> json)
factory

Properties

allowedDocs List<String>
final
alpha3Code String
final
avatar Map<String, dynamic>
final
code String
final
documents List<DocumentType>
final
documentTypes List<String>
no setter
flag String
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
lang String
final
name String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited