MutableDocument

Creates a new MutableDocument with the key-value entries specified by the given block function.

Example of usage:

val document = MutableDocument {
"name" to "John"
"surname" to "Doe"
"type" to "user"
}

Return

a MutableDocument instance