bordersOf static method

List<Country> bordersOf(
  1. String alpha3
)

Countries sharing a land border with the country identified by alpha3.

Implementation

static List<Country> bordersOf(String alpha3) {
  final country = byAlpha3Code(alpha3);
  if (country == null) return const [];
  return _all.borderingCountries(country.borders);
}