LearningPath constructor

const LearningPath({
  1. required String id,
  2. required List<LearningNode> nodes,
  3. required LearningPathStatus status,
  4. required List<DateTime> statusChanges,
})

Implementation

const factory LearningPath({
  required String id,
  required List<LearningNode> nodes,
  required LearningPathStatus status,
  required List<DateTime> statusChanges,
}) = _LearningPath;