Country.fromJson constructor
Implementation
Country.fromJson(Map<String, dynamic> json)
: this.code = json['code'].toString(),
this.code2 = ifNullReturnEmpty(json['code2']),
this.name = ifNullReturnEmpty(json['name']),
this.continent = ifNullReturnEmpty(json['continent']),
this.region = ifNullReturnEmpty(json['region']);