feat: release undergraduate integration 0.7.0
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user