fromNetwork

fun fromNetwork(tags: List<CategoryResponse.Tag>): List<Category>

Return

a list of Category ordered by name.

Parameters

tags

a List of CategoryResponse.Tag for mapping.