jlleitschuh
08/04/2017, 1:33 PMdata
class with @Builder
and the data class would have a companion object with a method builder()
get added that would then let you use the builder pattern to construct your data
class. Not really that useful in kotlin but it would be really nice when you have a data class and you are creating it in java.orangy
08/04/2017, 1:48 PMyan
08/04/2017, 2:04 PMcompanion object
to the class.jlleitschuh
08/04/2017, 3:04 PMyan
08/04/2017, 3:49 PMjlleitschuh
08/04/2017, 5:25 PM