Poll class abstract

Implemented types

Constructors

Poll([void b(PollBuilder)?])
Creates a new Poll object using the builder pattern.
factory
Poll.fromJson(Map<String, dynamic> json)
Creates a new object from the given json data.
factory

Properties

actorDisplayName String
no setterinherited
actorId String
no setterinherited
actorType ActorType
no setterinherited
details → BuiltList<PollVote>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
no setterinherited
maxVotes int
no setterinherited
numVoters int?
no setterinherited
options → BuiltList<String>
no setterinherited
question String
no setterinherited
resultMode int
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
no setterinherited
votedSelf → BuiltList<int>?
no setterinherited
votes → BuiltMap<String, int>?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PollBuilder)) Poll
Rebuilds the instance.
inherited
toBuilder() PollBuilder
Converts the instance to a builder B.
inherited
toJson() Map<String, dynamic>
Parses this object into a json like map.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<Poll>
Serializer for Poll.
no setter