PollType enum

This object contains information about a poll. Currently supported poll types are regular and quiz.

Inheritance
Available extensions

Values

regular → const PollType

Regular poll

const PollType("regular")
quiz → const PollType

Quiz poll

const PollType("quiz")

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The value of this enum.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
Converts this PollType to a String.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<PollType>
A constant List of the values in this enum, in order of their declaration.