setValue

abstract fun setValue(key: String, value: String?)


open fun <T> setValue(key: String, value: T?, defaultValue: T?)

Sets property to the given value, or unsets it if the value equals default value.

Parameters

key

Name of the property

value

Value

defaultValue

Default value

Type of the value