getCourseStats method

TaskAggregate? getCourseStats(
  1. int courseId
)

Returns the statistics for the course with the given courseId.

Implementation

TaskAggregate? getCourseStats(int courseId) => state.data?[courseId];