CategoryMapper

class CategoryMapper @Inject constructor

Class used to map tag name with the corresponding categories

Constructors

Link copied to clipboard
@Inject
fun CategoryMapper()

Functions

Link copied to clipboard
fun fromNetwork(tags: List<CategoryResponse.Tag>): List<Category>