CourseProgressCubit constructor
- SharedPreferencesAsync? prefs,
Implementation
CourseProgressCubit({SharedPreferencesAsync? prefs})
: _prefs = prefs ?? SharedPreferencesAsync(),
super(const CourseProgressState());
CourseProgressCubit({SharedPreferencesAsync? prefs})
: _prefs = prefs ?? SharedPreferencesAsync(),
super(const CourseProgressState());