CountriesListResponse.fromJson constructor
CountriesListResponse.fromJson(
- Map json_
Implementation
CountriesListResponse.fromJson(core.Map json_)
: this(
countries: json_.containsKey('countries')
? (json_['countries'] as core.List)
.map((value) => Country.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
);