setValue

abstract operator fun setValue(
    thisRef: R,
    property: KProperty<*>,
    value: T)
(source)

Sets the value of the property for the given object.

Parameters

thisRef - the object for which the value is requested.

property - the metadata for the property.

value - the value to set.