UndeclaredField

fun UndeclaredField(field: String, clazz: KClass<*>)

Parameters

field

Name of the extra field to add to the model

clazz

Class type of the field being added. If this is a complex type, you are most likely doing something wrong.