CountryListX extension
Fluent query extensions on List<Country>.
Properties
-
independent
→ List<
Country> -
Available on List<
Independent countries.Country> , provided by the CountryListX extensionno setter -
landlocked
→ List<
Country> -
Available on List<
Landlocked countries.Country> , provided by the CountryListX extensionno setter -
sortedByArea
→ List<
Country> -
Available on List<
Sorted by area, largest first.Country> , provided by the CountryListX extensionno setter -
sortedByName
→ List<
Country> -
Available on List<
Sorted alphabetically byCountry> , provided by the CountryListX extensionCountry.name.no setter -
unMembers
→ List<
Country> -
Available on List<
UN member countries.Country> , provided by the CountryListX extensionno setter
Methods
-
areaBiggerThan(
double km2) → List< Country> -
Available on List<
Countries larger thanCountry> , provided by the CountryListX extensionkm2square kilometres. -
areaSmallerThan(
double km2) → List< Country> -
Available on List<
Countries smaller thanCountry> , provided by the CountryListX extensionkm2square kilometres. -
borderingCountries(
List< String> alpha3Codes) → List<Country> -
Available on List<
Countries whose alpha-3 code is inCountry> , provided by the CountryListX extensionalpha3Codes(i.e. the actual neighbours). -
byCode(
String alpha2) → Country? -
Available on List<
Look up a single country by alpha-2 code. Returns null if not found.Country> , provided by the CountryListX extension -
byRegion(
Region region) → List< Country> -
Available on List<
All countries inCountry> , provided by the CountryListX extensionregion. -
search(
String query) → List< Country> -
Available on List<
Countries whose name, nativeName, altSpellings, or capital containsCountry> , provided by the CountryListX extensionquery(case-insensitive). -
withCurrency(
String isoCode) → List< Country> -
Available on List<
Countries using the given ISO 4217 currency code (e.g.Country> , provided by the CountryListX extension'USD'). -
withDialCode(
String prefix) → List< Country> -
Available on List<
Countries whose calling code starts withCountry> , provided by the CountryListX extensionprefix(e.g.'1'for +1). -
withLanguage(
String isoCode) → List< Country> -
Available on List<
Countries whereCountry> , provided by the CountryListX extensionisoCodeis an official language (ISO 639-3).