feat: release undergraduate integration 0.7.0

This commit is contained in:
Codex
2026-10-15 01:14:06 +08:00
parent b28f333720
commit 674df1ceb3
22 changed files with 173 additions and 63 deletions
@@ -21,8 +21,9 @@ class UndergraduateExamQuery {
required this.term,
required Set<UndergraduateExamType> types,
}) : types = Set.unmodifiable(types) {
if (term.school != SupportedSchool.uestcUndergraduate || types.isEmpty)
if (term.school != SupportedSchool.uestcUndergraduate || types.isEmpty) {
throw ArgumentError('请选择本科学期和考试类型');
}
}
final SchoolTerm term;
final Set<UndergraduateExamType> types;