makeDataClass
fun TypeSpec.Builder.makeDataClass(parameters: List<ParameterSpec>, addJvmOverloads: Boolean = false): TypeSpec.Builder
Content copied to clipboard
Makes this TypeSpec.Builder a data class and add a primary constructor using the given parameter spec as well as the corresponding properties