Adjusted attributes to table definition

This commit is contained in:
2025-11-19 00:23:28 +01:00
parent f6ebda7984
commit 5dcd0826bd
4 changed files with 4 additions and 11 deletions

View File

@@ -7,15 +7,10 @@ class Game {
final String name;
final List<Player>? players;
final Group? group;
final String winner;
final String? winner;
Game({
String? id,
required this.name,
this.players,
this.group,
this.winner = '',
}) : id = id ?? const Uuid().v4();
Game({String? id, required this.name, this.players, this.group, this.winner})
: id = id ?? const Uuid().v4();
@override
String toString() {