studyu
studyu copied to clipboard
refactor: Use sealed classes for questions and tasks
This default switch branch can be prevented in the future if we use sealed classes: https://dart.dev/language/class-modifiers#sealed
Originally posted by @hig-dev in https://github.com/hpi-studyu/studyu/pull/562#discussion_r1455150357