Kiongku
val newMap: Map<String, List<Product>> = someMap.mapValues { it.value.map { Product(it.brand, it.type) } }
elect
Hexa