SubmitPollCreateQueryBuilder class

Submit Poll Create Query Builder

Constructors

SubmitPollCreateQueryBuilder(CreatePollUseCase _useCase, String _question, List<AmityPollAnswer> _answers)
Init SubmitPollCreateQueryBuilder

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

answerType({required AmityPollAnswerType answerType}) SubmitPollCreateQueryBuilder
Set Answer type for the poll
closedIn({required Duration closedIn}) SubmitPollCreateQueryBuilder
Set close time for the poll
create() Future<AmityPoll>
Create Poll
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