Comment constructor

Comment({
  1. required String by,
  2. required int id,
  3. required List<int> kids,
  4. required int parent,
  5. required String text,
  6. required DateTime time,
  7. required ItemType type,
})

Implementation

Comment({
  required this.by,
  required this.id,
  required this.kids,
  required this.parent,
  required this.text,
  required this.time,
  required this.type,
});