Poll class final

Constructors

Poll({required PollQuestion question, required List<PollAnswer> answers, required Duration? expireAt, required bool isAllowMultiple, Snowflake? messageId, PollLayout layout = PollLayout.initial})

Properties

answers List<PollAnswer>
final
expireAt Duration?
final
hashCode int
The hash code for this object.
no setterinherited
isAllowMultiple bool
final
layout PollLayout
final
messageId Snowflake?
final
question PollQuestion
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