Skip to content

Commit

Permalink
Allow null course unit year
Browse files Browse the repository at this point in the history
  • Loading branch information
bdmendes authored Oct 6, 2023
1 parent 90d2822 commit c7ed168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uni/lib/model/entities/course_units/course_unit.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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?,
Expand Down

0 comments on commit c7ed168

Please sign in to comment.