to

infix fun String.to(value: Any?)

Add a nested property using 'to' syntax.


infix fun String.to(block: SubjectObjectBuilder.() -> Unit)

Add a nested object using 'to' syntax.


infix fun String.to(blocks: List<SubjectObjectBuilder.() -> Unit>)

Add an array of objects using DSL syntax.