staticCountryDetector

fun staticCountryDetector(iso2Code: String, source: CountryDetectionSource = CountryDetectionSource.Default): CountryDetector(source)

A detector that always reports iso2Code. Useful in previews and tests.