setValue

inline operator fun <V> MutableMap<in String, in V>.setValue(thisRef: Any?, property: KProperty<*>, value: V)(source)

Stores the value of the property for the given object in this mutable map.

Since Kotlin

1.1

Parameters

thisRef

the object for which the value is requested (not used).

property

the metadata for the property, used to get the name of property and store the value associated with that name in the map.

value

the value to set.

inline operator fun <V> MutableMap<in String, in V>.setValue(thisRef: Any?, property: KProperty<*>, value: V)(source)

Stores the value of the property for the given object in this mutable map.

Since Kotlin

1.0

Parameters

thisRef

the object for which the value is requested (not used).

property

the metadata for the property, used to get the name of property and store the value associated with that name in the map.

value

the value to set.