Story constructor

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

Implementation

Story({
  required this.id,
  required this.deleted,
  required this.type,
  required this.by,
  required this.time,
  required this.dead,
  required this.kids,
  required this.descendants,
  required this.score,
  required this.title,
  required this.url,
});