ToggleableServiceProperty

constructor(value: Boolean, setter: (Boolean) -> Unit? = null)

Parameters

value

Current value of the property.

setter

The setter function used to change value or null if it cannot be changed.