Option

@Immutable
data class Option(val id: String, val text: String)

The Option object represents an answer option in a poll.

Constructors

Link copied to clipboard
constructor(id: String, text: String)

Properties

Link copied to clipboard
val id: String

The unique identifier of the option.

Link copied to clipboard

The text of the option.