setValue

operator fun setValue(obj: Any, prop: KProperty<*>, newValue: T)

Sets a new property value with validation.