PollOptions class

Constructors

PollOptions({required String optionText, required int voteCount, required String id, required List<String> votersUid})
creates model for poll options and result

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
id poll option id
final
optionText String
optionText option text
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
voteCount int
voteCount vote count for this option
getter/setter pair
votersUid List<String>
votersUid list of voters uid
final

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