This commit is contained in:
2024-02-06 10:14:30 +01:00
parent d9c4e39910
commit 3259a7dd97
67 changed files with 548 additions and 34 deletions
+7 -1
View File
@@ -3,4 +3,10 @@ class QuizQuestion {
final String text;
final List<String> answers;
}
List<String> getShuffeldAnswers() {
final shuffeldList = List.of(answers);
shuffeldList.shuffle();
return shuffeldList;
}
}