studyu icon indicating copy to clipboard operation
studyu copied to clipboard

refactor: Use sealed classes for questions and tasks

Open johannesvedder opened this issue 1 year ago • 0 comments

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

johannesvedder avatar Jan 21 '24 10:01 johannesvedder