toPlainObj

fun toPlainObj(data: T): dynamic

Converts a Kotlin data model to an internal (dynamic) data model