SubjectLevels constructor

SubjectLevels({
  1. int? id,
  2. required String name,
  3. List<Level> levels = const [],
  4. String? icon,
  5. String? slug,
})

Returns a new SubjectLevels instance.

Implementation

SubjectLevels({
  this.id,
  required this.name,
  this.levels = const [],
  this.icon,
  this.slug,
});