getCountryByCapital method

Future<Country?> getCountryByCapital(
  1. String capital, {
  2. dynamic firstCache = true,
  3. bool onErrorTryCache = false,
})

Implementation

Future<Country?> getCountryByCapital(String capital,
        {firstCache: true, bool onErrorTryCache: false}) =>
    getCountryBy(capitalFunc(capital),
        firstCache: firstCache, onErrorTryCache: onErrorTryCache);