StatusAggregate constructor
Status aggregate of a set of tasks.
Implementation
const factory StatusAggregate({
/// The number of tasks with [MoodleTaskStatus.done].
required int done,
/// The number of tasks with [MoodleTaskStatus.pending].
required int pending,
/// The number of tasks with [MoodleTaskStatus.uploaded].
required int uploaded,
/// The number of tasks with [MoodleTaskStatus.late].
required int late,
}) = _StatusAggregate;