Poll class

Annotations
  • @JsonSerializable()

Constructors

Poll({required String by, required int descendants, required int id, required List<int> kids, required List<int> parts, required int score, required String text, required DateTime time, required String title, required ItemType type})
Poll.fromJson(Map<String, dynamic> json)
factory

Properties

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