Job constructor

Job({
  1. required String by,
  2. required int id,
  3. required int score,
  4. required String? text,
  5. required DateTime time,
  6. required ItemType type,
  7. required String? url,
})

Implementation

Job({
  required this.by,
  required this.id,
  required this.score,
  required this.text,
  required this.time,
  required this.type,
  required this.url,
});