Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
elearning_v2_local_data_source.dart
Go to the documentation of this file.
1import '../../domain/entities/course_entity.dart';
2import '../../domain/entities/qcm_entity.dart';
3
6 Future<List<CourseEntity>> getCourses();
7
9 Future<CourseEntity> getCourseDetails(int courseId);
10
12 Future<List<QcmEntity>> getQcmForCourse(int courseId);
13
15 Future<String> getPdfPathForCourse(int courseId);
16
18 Future<bool> updateCourseProgress(int courseId, double progress);
19}
Future< String > getPdfPathForCourse(int courseId)
Gets the PDF path for a specific course.
Future< List< CourseEntity > > getCourses()
Gets a list of all available courses.
Future< CourseEntity > getCourseDetails(int courseId)
Gets detailed information about a specific course.
Future< List< QcmEntity > > getQcmForCourse(int courseId)
Gets QCM questions for a specific course.
Future< bool > updateCourseProgress(int courseId, double progress)
Updates the progress for a specific course.
class GetPdfPathUseCase implements UseCase< String, PdfParams > courseId
final double progress