PollOption class

Annotations
  • @JsonSerializable()

Constructors

PollOption({required String by, required int id, required int score, required int poll, required String text, required DateTime time, required ItemType type})
PollOption.fromJson(Map<String, dynamic> json)
factory

Properties

by String
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
poll int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
score int
final
text String
final
time DateTime
final
type ItemType
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