Problem constructor

Problem({
  1. required String id,
  2. required String displayId,
  3. required String title,
  4. required String titleSlug,
  5. required String content,
  6. required String difficulty,
  7. required int likes,
  8. required int dislikes,
  9. required List<String> hints,
})

Implementation

Problem({
  required this.id,
  required this.displayId,
  required this.title,
  required this.titleSlug,
  required this.content,
  required this.difficulty,
  required this.likes,
  required this.dislikes,
  required this.hints,
});