diff --git a/uni/lib/model/entities/course_units/course_unit.dart b/uni/lib/model/entities/course_units/course_unit.dart index 25bf40338..cf8a0193d 100644 --- a/uni/lib/model/entities/course_units/course_unit.dart +++ b/uni/lib/model/entities/course_units/course_unit.dart @@ -45,7 +45,7 @@ class CourseUnit { code: data['ucurr_codigo'] as String, abbreviation: data['ucurr_sigla'] as String, name: data['ucurr_nome'] as String, - curricularYear: data['ano'] as int, + curricularYear: data['ano'] as int?, occurrId: data['ocorr_id'] as int, semesterCode: data['per_codigo'] as String?, semesterName: data['per_nome'] as String?,