byTimeZone static method
gets countries of certain timezone
Implementation
static CountryList byTimeZone(TimeZone timeZone) {
List<Country> countries = _countryData.countries
.where((c) => c.timeZones!.timeZones == null ? false : c.timeZones!.timeZones!.contains(timeZone))
.toList();
return CountryList(countries: countries);
}