makeDataClassFromProperties

fun TypeSpec.Builder.makeDataClassFromProperties(fields: List<FieldSpec>): TypeSpec.Builder

Same as makeDataClassFromParameters but takes fields instead of parameters as input