◆ ElearningV2LocalDataSourceImpl()
| ElearningV2LocalDataSource::ElearningV2LocalDataSourceImpl |
( |
{required this.sharedPreferences} | | ) |
|
|
private |
◆ getCourseDetails() [1/2]
| Future< CourseEntity > ElearningV2LocalDataSource::getCourseDetails |
( |
int | courseId | ) |
|
|
private |
Gets detailed information about a specific course.
◆ getCourseDetails() [2/2]
| override Future< CourseEntity > ElearningV2LocalDataSource::getCourseDetails |
( |
int | courseId | ) |
|
|
inlineprivate |
◆ getCourses() [1/2]
| Future< List< CourseEntity > > ElearningV2LocalDataSource::getCourses |
( |
| ) |
|
|
private |
Gets a list of all available courses.
◆ getCourses() [2/2]
| override Future< List< CourseEntity > > ElearningV2LocalDataSource::getCourses |
( |
| ) |
|
|
inlineprivate |
◆ getPdfPathForCourse() [1/2]
| Future< String > ElearningV2LocalDataSource::getPdfPathForCourse |
( |
int | courseId | ) |
|
|
private |
Gets the PDF path for a specific course.
◆ getPdfPathForCourse() [2/2]
| override Future< String > ElearningV2LocalDataSource::getPdfPathForCourse |
( |
int | courseId | ) |
|
|
inlineprivate |
◆ getQcmForCourse() [1/2]
| Future< List< QcmEntity > > ElearningV2LocalDataSource::getQcmForCourse |
( |
int | courseId | ) |
|
|
private |
Gets QCM questions for a specific course.
◆ getQcmForCourse() [2/2]
| override Future< List< QcmEntity > > ElearningV2LocalDataSource::getQcmForCourse |
( |
int | courseId | ) |
|
|
inlineprivate |
◆ updateCourseProgress() [1/2]
| Future< bool > ElearningV2LocalDataSource::updateCourseProgress |
( |
int | courseId, |
|
|
double | progress ) |
|
private |
Updates the progress for a specific course.
◆ updateCourseProgress() [2/2]
| override Future< bool > ElearningV2LocalDataSource::updateCourseProgress |
( |
int | courseId, |
|
|
double | progress ) |
|
inlineprivate |
◆ _progressKeyPrefix
| const String ElearningV2LocalDataSource::_progressKeyPrefix = 'course_progress_' |
|
staticprivate |
◆ sharedPreferences
| final SharedPreferences ElearningV2LocalDataSource::sharedPreferences |
|
private |
The documentation for this class was generated from the following files: