TogglesTrait.ToggleSetting

class TogglesTrait.ToggleSetting


Indicates if a specific toggle is enabled or not.

Summary

Public constructors

ToggleSetting(toggleName: String, enabled: Boolean)

Creates the ToggleSetting class.

Public properties

Boolean

Indicates if the toggle is enabled or not.

String

The internal name of the toggle.

Public constructors

ToggleSetting

ToggleSetting(toggleName: String = "", enabled: Boolean = false)

Creates the ToggleSetting class.

Public properties

enabled

val enabledBoolean

Indicates if the toggle is enabled or not.

toggleName

val toggleNameString

The internal name of the toggle.