StatusPollParam class

Constructors

StatusPollParam({required List<String> options, required Duration expiresIn, bool multiple = false, bool hideTotals = false})
Returns the new instance of StatusPollParam.
const

Properties

expiresIn Duration
Duration that the poll should be open, in seconds.
final
hashCode int
The hash code for this object.
no setterinherited
hideTotals bool
Hide vote counts until the poll ends? Defaults to false.
final
multiple bool
Allow multiple choices? Defaults to false.
final
options List<String>
Possible answers to the poll.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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