Task constructor

Task({
  1. required String question,
  2. required String answer,
  3. String? youtubeId,
  4. String? imageUrl,
  5. List<SolutionStep> steps = const [],
  6. String? introVideoUrl,
})

Implementation

Task({
  required this.question,
  required this.answer,
  this.youtubeId,
  this.imageUrl,
  this.steps = const [],
  this.introVideoUrl,
});