PollBuilder class final
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addAnswer(
{required String answer, PartialEmoji? emoji}) → PollBuilder -
allowMultipleResponses(
bool value) → PollBuilder -
build(
) → Poll -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setExpireAt(
Duration expireAt) → PollBuilder -
setLayout(
PollLayout layout) → PollBuilder -
setQuestion(
{required String question, PartialEmoji? emoji}) → PollBuilder -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited