PollOption

constructor(text: String, extraData: Map<String, Any> = emptyMap())

Constructs a PollOption without an id.

Parameters

text

The text of the option.

extraData

Any additional data associated with the option.


constructor(id: String?, text: String, extraData: Map<String, Any> = emptyMap())