setBoolean

fun setBoolean(key: String, value: Boolean)

Set the value associated with key to the provided Boolean value.