regionContainsFunc method

dynamic regionContainsFunc(
  1. String region
)

Implementation

regionContainsFunc(String region) => (Country country) =>
    country.region?.toLowerCase().contains(region.toLowerCase()) == true;