byArea static method

Country byArea(
  1. double area
)

Implementation

static Country byArea(double area) {
  Country countries =
      _countryData.countries.where((c) => c.area == area).first;
  return countries;
}