|
| | ElearningV2RepositoryImpl ({required this.localDataSource}) |
| override Future< Either< Failure, List< CourseEntity > > > | getCourses () async |
| override Future< Either< Failure, CourseEntity > > | getCourseDetails (int courseId) async |
| override Future< Either< Failure, List< QcmEntity > > > | getQcmForCourse (int courseId) async |
| override Future< Either< Failure, String > > | getPdfPathForCourse (int courseId) async |
| override Future< Either< Failure, bool > > | updateCourseProgress (int courseId, double progress) async |
| Future< Either< Failure, List< CourseEntity > > > | getCourses () |
| | Gets a list of all available courses.
|
| Future< Either< Failure, CourseEntity > > | getCourseDetails (int courseId) |
| | Gets detailed information about a specific course.
|
| Future< Either< Failure, List< QcmEntity > > > | getQcmForCourse (int courseId) |
| | Gets QCM questions for a specific course.
|
| Future< Either< Failure, String > > | getPdfPathForCourse (int courseId) |
| | Gets the PDF path for a specific course.
|
| Future< Either< Failure, bool > > | updateCourseProgress (int courseId, double progress) |
| | Updates the progress for a specific course.
|
◆ ElearningV2RepositoryImpl()
| ElearningV2Repository::ElearningV2RepositoryImpl |
( |
{required this.localDataSource} | | ) |
|
|
private |
◆ getCourseDetails() [1/2]
| Future< Either< Failure, CourseEntity > > ElearningV2Repository::getCourseDetails |
( |
int | courseId | ) |
|
|
private |
Gets detailed information about a specific course.
◆ getCourseDetails() [2/2]
| override Future< Either< Failure, CourseEntity > > ElearningV2Repository::getCourseDetails |
( |
int | courseId | ) |
|
|
inlineprivate |
◆ getCourses() [1/2]
Gets a list of all available courses.
◆ getCourses() [2/2]
| override Future< Either< Failure, List< CourseEntity > > > ElearningV2Repository::getCourses |
( |
| ) |
|
|
inlineprivate |
◆ getPdfPathForCourse() [1/2]
| Future< Either< Failure, String > > ElearningV2Repository::getPdfPathForCourse |
( |
int | courseId | ) |
|
|
private |
Gets the PDF path for a specific course.
◆ getPdfPathForCourse() [2/2]
| override Future< Either< Failure, String > > ElearningV2Repository::getPdfPathForCourse |
( |
int | courseId | ) |
|
|
inlineprivate |
◆ getQcmForCourse() [1/2]
| Future< Either< Failure, List< QcmEntity > > > ElearningV2Repository::getQcmForCourse |
( |
int | courseId | ) |
|
|
private |
Gets QCM questions for a specific course.
◆ getQcmForCourse() [2/2]
| override Future< Either< Failure, List< QcmEntity > > > ElearningV2Repository::getQcmForCourse |
( |
int | courseId | ) |
|
|
inlineprivate |
◆ updateCourseProgress() [1/2]
| Future< Either< Failure, bool > > ElearningV2Repository::updateCourseProgress |
( |
int | courseId, |
|
|
double | progress ) |
|
private |
Updates the progress for a specific course.
◆ updateCourseProgress() [2/2]
| override Future< Either< Failure, bool > > ElearningV2Repository::updateCourseProgress |
( |
int | courseId, |
|
|
double | progress ) |
|
inlineprivate |
◆ localDataSource
The documentation for this class was generated from the following files: