HMSPollBuilder class

HMSPollBuilder is used to create polls It contains getters and setters for poll builder properties

Constructors

HMSPollBuilder()

Properties

hashCode int
The hash code for this object.
no setterinherited
questions List<HMSPollQuestionBuilder>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
withAnonymous bool
no getter
withCategory HMSPollCategory
no getter
withDuration Duration
no getter
withMode HMSPollUserTrackingMode
no getter
withPollId String
no getter
withRolesThatCanViewResponses List<HMSRole>
no getter
withRolesThatCanVote List<HMSRole>
no getter
withTitle String
no getter

Methods

addQuestion(HMSPollQuestionBuilder questionBuilder) HMSPollBuilder
build() HMSPollBuilder
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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