set

abstract fun set(key: String, value: Any?)

Set an arbitrary top-level key/value on the document. May affect conditions or formulas that reference the key.