This commit is contained in:
2024-02-08 08:22:44 +01:00
parent ea751d1616
commit 57b71432f8
13 changed files with 100 additions and 38 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ class QuizQuestion {
final String text;
final List<String> answers;
List<String> getShuffeldAnswers() {
List<String> get shuffeldAnswers {
final shuffeldList = List.of(answers);
shuffeldList.shuffle();
return shuffeldList;