PollAnswer class

Constructors

PollAnswer({String? answerId, int? voteCount, String? value, bool? userSubmission, PollImage? image, String? authorDisplayName})
PollAnswer.fromJson(Map<String, dynamic> json)
factory

Properties

answerId String?
final
authorDisplayName String?
final
hashCode int
The hash code for this object.
no setterinherited
image PollImage?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userSubmission bool?
final
value String?
final
voteCount int?
final

Methods

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

Operators

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