getCountryByName method
Future<Country?>
getCountryByName(
- String name, {
- LanguageCode? lang,
- dynamic firstCache = true,
- bool onErrorTryCache = false,
Implementation
Future<Country?> getCountryByName(String name,
{LanguageCode? lang,
firstCache: true,
bool onErrorTryCache: false}) =>
getCountryBy(nameFunc(name, lang: lang),
firstCache: firstCache, onErrorTryCache: onErrorTryCache);