TypeAggregate constructor
Aggregate of a set of tasks by MoodleTask.type
.
Implementation
const factory TypeAggregate({
/// The number of tasks with [MoodleTaskType.required].
required int required,
/// The number of tasks with [MoodleTaskType.optional].
required int optional,
/// The number of tasks with [MoodleTaskType.compensation].
required int compensation,
/// The number of tasks with [MoodleTaskType.exam].
required int exam,
/// The number of tasks with [MoodleTaskType.none].
required int none,
}) = _TypeAggregate;