getTownsList

Get a list of towns

This function returns a list of towns depend on country code.

suspend fun getTownsList(locale: String): ResponseHolder<ArrayList<ApiTown>?> {
    return HelpersRequests(baseUrl, activity).getTownsByLocale(schemeId, locale)
}

📘

Country code

Variable "locale" equals country code