regionFunc method

dynamic regionFunc(
  1. String region
)

Implementation

regionFunc(String region) => (Country country) =>
    country.region?.toLowerCase() == region.toLowerCase();