byNumericCode static method

Country byNumericCode(
  1. String code
)

Implementation

static Country byNumericCode(String code) {
  Country country =
      _countryData.countries.where((c) => c.numericCode == code).first;
  return country;
}