makeDataClass

fun TypeSpec.Builder.makeDataClass(parameters: List<ParameterSpec>, addJvmOverloads: Boolean = false): TypeSpec.Builder

Makes this TypeSpec.Builder a data class and add a primary constructor using the given parameter spec as well as the corresponding properties