of

fun of(map: Map<String, Any>): Compound

Creates a new Compound with the given map as its values.