mainPageOf

return list of MainPageData with url to name, make for more readable code

Parameters

elements

parameter of MainPageData class of data


fun mainPageOf(vararg elements: Pair<String, String>): List<MainPageData>(source)

return list of MainPageData with url to name, make for more readable code

Parameters

elements

parameter of map of url and name