countries property
List<CountryInfo>
get
countries
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
List<CountryInfo> get countries {
try {
if (rawData["countries"] is List == false) {
return [];
}
return (rawData["countries"] as List).map((e) => CountryInfo(e as Map)).toList().cast<CountryInfo>();
} catch (e) {
return [];
}
}
set
countries
(List<CountryInfo> values)
Generate By General Universe Script Dont edit by hand or anything manual
Implementation
set countries(List<CountryInfo> values) {
rawData["countries"] = values.map((value) => value.toJson()).toList();
}