Country.fromJson constructor
Implementation
factory Country.fromJson(Map<String, dynamic> json) {
return Country(
name: json['name'],
nameAr: json['name_ar'],
dialCode: json['dial_code'],
currency: json['currency'],
iso2: json['iso2'],
iso3: json['iso2'],
isArabianCountry: json['is_arabian_country'],
isKhalijiCountry: json['is_khaliji_country'],
);
}