PollResults class

Poll Results.

ID: 7adf2420.

Inheritance

Constructors

PollResults({required bool min, List<PollAnswerVotersBase>? results, int? totalVoters, List<PeerBase>? recentVoters, String? solution, List<MessageEntityBase>? solutionEntities})
Poll Results constructor.
const
PollResults.deserialize(BinaryReader reader)
Deserialize.
factory

Properties

flags int
Flags.
no setter
hashCode int
The hash code for this object.
no setterinherited
min bool
min: bit 0 of flags.0?true
final
recentVoters List<PeerBase>?
Recent Voters.
final
results List<PollAnswerVotersBase>?
Results.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
solution String?
Solution.
final
solutionEntities List<MessageEntityBase>?
Solution Entities.
final
totalVoters int?
Total Voters.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(List<int> buffer) → void
Serialize.
override
toJson() Map<String, dynamic>
Converts an object to JSON.
override
toString() String
A string representation of this object.
inherited

Operators

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