getTask abstract method

Future<MoodleTask> getTask(
  1. String token,
  2. int id
)

Gets a single task by its id.

Implementation

Future<MoodleTask> getTask(String token, int id);