byRegion method

List<Country> byRegion(
  1. Region region
)

All countries in region.

Implementation

List<Country> byRegion(Region region) =>
    where((c) => c.region == region).toList();