Story constructor

Story({
  1. required String by,
  2. required int descendants,
  3. required String title,
  4. required int id,
  5. required int score,
  6. required List<int>? kids,
  7. required DateTime time,
  8. required ItemType type,
  9. required Uri url,
})

Implementation

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