rohith
07/10/2017, 2:54 PMmenegatti
07/10/2017, 2:55 PMrohith
07/10/2017, 2:55 PMdata class Foo(val bar: String, val fizz: String, val buzz: String)
rohith
07/10/2017, 2:56 PMval fooData = Foo("f", "i", "z", "z")
Is there a way for me to map across all the values
fooData.map {
}
rohith
07/10/2017, 2:56 PMkarelpeeters
07/10/2017, 2:57 PMmenegatti
07/10/2017, 2:57 PMrohith
07/10/2017, 2:57 PMkarelpeeters
07/10/2017, 2:57 PMMap<String, String>
and then you can delegate them to that map.rafal
07/10/2017, 2:58 PMcomponen1()
, component2()
,... maybe this will be of some use to youkarelpeeters
07/10/2017, 2:58 PMrohith
07/10/2017, 2:58 PMrohith
07/10/2017, 2:58 PMkarelpeeters
07/10/2017, 2:59 PM