NNBD model migration
As mentioned in #305 (closed) and !471 (merged), we currently are unable to run flutter pub run buildrunner
in any way.
To fix this the 84 files mentioned below and their corresponding model files/classes need to be migrated to nullsafety.
Files to be migrated
-
lib/bloc/tc_bloc_observer/tc_bloc_debug_decision.g.dart -
lib/bloc/user/model/badge_model.g.dart -
lib/bloc/user/model/conditions_model.g.dart -
lib/bloc/user/model/user_model.g.dart -
lib/bloc/user/user_bloc.g.dart -
lib/modules/business_cards/contacts/vcard/vcard.g.dart [maurice] -
lib/modules/business_cards/v_card/v_card_state.g.dart [maurice] -
lib/modules/cafeteria/bloc/cafeteria_bloc.g.dart [maurice] -
lib/modules/cafeteria/bloc/cafeteria_feedback/cafeteria_feedback_bloc.g.dart [maurice] -
lib/modules/cafeteria/bloc/cafeteria_opening/cafeteria_opening_bloc.g.dart [maurice] -
lib/modules/cafeteria/bloc/cafeteria_settings/cafeteria_settings_bloc.g.dart [maurice] -
lib/modules/cafeteria/model/building.g.dart [maurice] -
lib/modules/cafeteria/model/cafeteria.g.dart [maurice] -
lib/modules/cafeteria/model/cafeteria_item.g.dart [maurice] -
lib/modules/cafeteria/model/cafeteria_item_comment.g.dart [maurice] -
lib/modules/cafeteria/model/cafeteria_item_feedback.g.dart [maurice] -
lib/modules/cafeteria/model/cafeteria_item_rating.g.dart [maurice] -
lib/modules/cafeteria/model/cafeteria_settings.g.dart [maurice] -
lib/modules/cafeteria/model/characteristic.g.dart [maurice] -
lib/modules/cafeteria/model/opening_times/cafeteria_opening_hours.g.dart [maurice] -
lib/modules/cafeteria/model/prices.g.dart [maurice] -
lib/modules/important_links/bloc/bookmark_links/bookmark_links_state.g.dart [maurice] -
lib/modules/important_links/model/category.g.dart [maurice] -
lib/modules/important_links/model/item.g.dart [maurice] -
lib/modules/organizer/blocs/o_calendar_bloc/o_calendar_bloc.g.dart [marwin] -
lib/modules/organizer/blocs/o_color_mapping_bloc/o_color_mapping_bloc.g.dart [marwin] -
lib/modules/organizer/blocs/o_lesson_selection_bloc/o_lesson_selection_bloc.g.dart [marwin] -
lib/modules/organizer/blocs/o_program_configuration_bloc/o_program_configuration_bloc.g.dart -
lib/modules/organizer/blocs/o_program_history_bloc/o_program_history_bloc.g.dart [marwin] -
lib/modules/organizer/blocs/o_settings_bloc/o_settings_bloc.g.dart [marwin] -
lib/modules/organizer/model/o_block.g.dart [marwin] -
lib/modules/organizer/model/o_block_intervals.g.dart [marwin] -
lib/modules/organizer/model/o_change_record.g.dart [marwin] -
lib/modules/organizer/model/o_department.g.dart [marwin] -
lib/modules/organizer/model/o_element.g.dart [marwin] -
lib/modules/organizer/model/o_element_wrapper.g.dart [marwin] -
lib/modules/organizer/model/o_lesson.g.dart [marwin] -
lib/modules/organizer/model/o_person.g.dart [marwin] -
lib/modules/organizer/model/o_pool.g.dart [marwin] -
lib/modules/organizer/model/o_program.g.dart [marwin] -
lib/modules/organizer/model/o_resource.g.dart [marwin] -
lib/modules/organizer/model/o_room.g.dart [marwin] -
lib/modules/organizer/model/o_subject.g.dart [marwin] -
lib/modules/organizer/model/o_subject_details.g.dart [marwin] -
lib/modules/organizer/model/o_week.g.dart [marwin] -
lib/modules/practice_phase/bloc/pp_model/pp_model_bloc.g.dart -
lib/modules/practice_phase/bloc/pp_user_progress/pp_user_progress_bloc.g.dart -
lib/modules/practice_phase/model/pp_address.g.dart -
lib/modules/practice_phase/model/pp_answer.g.dart -
lib/modules/practice_phase/model/pp_entry.g.dart -
lib/modules/practice_phase/model/pp_group.g.dart -
lib/modules/practice_phase/model/pp_media.g.dart -
lib/modules/practice_phase/model/pp_person.g.dart -
lib/modules/practice_phase/model/pp_phase.g.dart -
lib/modules/practice_phase/model/pp_question.g.dart -
lib/modules/practice_phase/model/pp_success_data.g.dart -
lib/modules/practice_phase/model/pp_unit.g.dart -
lib/modules/practice_phase/model/pp_user_progression.g.dart -
lib/modules/qanda/bloc/answer/answer_bloc.g.dart [maurice] -
lib/modules/qanda/bloc/question/question_bloc.g.dart [maurice] -
lib/modules/qanda/model/answer.g.dart [maurice] -
lib/modules/qanda/model/author.g.dart [maurice] -
lib/modules/qanda/model/category.g.dart [maurice] -
lib/modules/qanda/model/flair.g.dart [maurice] -
lib/modules/qanda/model/question.g.dart [maurice] -
lib/modules/sport/bloc/settings/exercise_settings_bloc.g.dart [chris] -
lib/modules/sport/bloc/settings/exercise_settings_state.g.dart [chris] -
lib/modules/sport/model/exercise.g.dart [chris] -
lib/modules/sport/model/external_content.g.dart [chris] -
lib/modules/sport/model/external_content_list.g.dart [chris] -
lib/modules/sport/model/instruction.g.dart [chris] -
lib/modules/sport/model/sport_model.g.dart [chris] -
lib/modules/sport/model/sport_tab_model.g.dart [chris] -
lib/modules/zs/model/zs_item.g.dart [robert] (Modul ist auch schon fertig) -
lib/notifications/status/model/status.g.dart [justin] -
lib/notifications/status/model/status_notification.g.dart [justin] -
lib/pages/app_start/splash_page.g.dart -
lib/pages/home/bloc/home_bloc.g.dart -
lib/pages/home/model/module.g.dart -
lib/pages/timeline/bloc/entries/timeline_bloc.g.dart [chris][robert] -
lib/pages/timeline/model/timeline_entry.g.dart [chris][robert] -
lib/pages/timeline/model/timeline_source.g.dart [chris][robert] -
lib/repositories/token/token_repository.g.dart -
lib/reward/legacy/model/legacy_heart.g.dart [chris]Ist raus. [robert]
As a sanity check: !At the end of migration there should be no files deleted by this MR!
Tests:
-
Bloc Debug -
User Bloc -
Business Cards -
Cafeteria -
Important Links (seems fine except for !483 (merged)) -
Organizer -
Practice Phase (seems fine except for !483 (merged)) -
QandA -
Sport -
ZS (seems fine except for !483 (merged)) -
Notification -
Splash Page -
Home Page -
Timeline
Edited by Marwin Lebensky