ChapterInfo constructor

ChapterInfo(
  1. {required String imagePath,
  2. required String name,
  3. required int totalExercises,
  4. required int clearedExercises,
  5. required int chapterNumber}
)

Implementation

ChapterInfo(
    {required this.imagePath,
    required this.name,
    required this.totalExercises,
    required this.clearedExercises,
    required this.chapterNumber});