Poll constructor

Poll({
  1. required int id,
  2. required String text,
  3. required String title,
  4. required int score,
  5. required int descendants,
  6. required String by,
  7. required String type,
  8. required int parent,
  9. required int time,
  10. required bool dead,
  11. required bool deleted,
  12. required List kids,
  13. required List parts,
})

Implementation

Poll({
  required this.id,
  required this.text,
  required this.title,
  required this.score,
  required this.descendants,
  required this.by,
  required this.type,
  required this.parent,
  required this.time,
  required this.dead,
  required this.deleted,
  required this.kids,
  required this.parts,
});