getTasks abstract method
Fetches all tasks.
If courseId
is provided, only tasks for that course are fetched.
Implementation
Future<List<MoodleTask>> getTasks(String token, {int? courseId});
Fetches all tasks.
If courseId
is provided, only tasks for that course are fetched.
Future<List<MoodleTask>> getTasks(String token, {int? courseId});