ToggleableServiceProperty
fun ToggleableServiceProperty(value: Boolean, setter: (Boolean) -> Unit? = null)
Content copied to clipboard
Parameters
value
Current value of the property.
setter
The setter function used to change value or null
if it cannot be changed.