Fixed tests

This commit is contained in:
2025-08-23 18:27:23 +02:00
parent 25274ed914
commit dab7725c98

View File

@@ -26,8 +26,8 @@ class GameSession extends ChangeNotifier {
int roundNumber;
List<Round> roundList;
GameSession(
{required this.id,
GameSession({
required this.id,
required this.createdAt,
required this.gameTitle,
required this.players,
@@ -37,7 +37,8 @@ class GameSession extends ChangeNotifier {
this.isGameFinished = false,
this.winner = '',
this.roundNumber = 1,
this.roundList = const []});
List<Round>? roundList,
}) : roundList = roundList ?? [];
@override
toString() {