getCountryByCode2 method

Future<Country?> getCountryByCode2({
  1. Alpha2Code? code2,
  2. dynamic firstCache = true,
  3. bool onErrorTryCache = false,
})

Implementation

Future<Country?> getCountryByCode2(
        {Alpha2Code? code2, firstCache: true, bool onErrorTryCache: false}) =>
    getCountryBy(code2Func(code2),
        firstCache: firstCache, onErrorTryCache: onErrorTryCache);