PollSwitchItem

data class PollSwitchItem(val title: String, val enabled: Boolean, val key: String = UUID.randomUUID().toString(), val pollSwitchInput: PollSwitchInput? = null, val pollOptionError: PollOptionError? = null)

The option switch item for creating a poll.

Constructors

Link copied to clipboard
constructor(title: String, enabled: Boolean, key: String = UUID.randomUUID().toString(), pollSwitchInput: PollSwitchInput? = null, pollOptionError: PollOptionError? = null)

Properties

Link copied to clipboard

Indicates if this switch is enabled or not.

Link copied to clipboard
val key: String

The key that identifies this poll item.

Link copied to clipboard

Indicates this option has an error.

Link copied to clipboard
Link copied to clipboard

The title of this poll item.