set

operator fun MapProperties.set(key: String, value: Any)

Allows to add a property mapped to key with given value using Kotlin square braces assignment operator.

Parameters

key

name of the property.

value

value of the property.