Fixed tests
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user