resolveCountries

fun resolveCountries(includeOnly: List<KwikCountry> = listOf(), omit: List<KwikCountry> = listOf()): List<KwikCountryInfo>

Allows you to filter the list of countries by including only the countries you want Note that includeOnly takes precedence over omit

Parameters

includeOnly

a list of country codes to include.

omit

a list of country codes to omit.

Usage example:

val countries = resolveCountries(
includeOnly = listOf(KwikCountry.RW, KwikCountry.KE),
omit = listOf(KwikCountry.XX)
)