Cherry picked changes from 119-implementierung-der-games
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 46s
Pull Request Pipeline / lint (pull_request) Successful in 47s

This commit is contained in:
2026-04-28 15:27:52 +02:00
parent a5f00f16ab
commit 2f5b9e5ff2
15 changed files with 978 additions and 34 deletions

View File

@@ -12,16 +12,17 @@ class Game {
final String icon;
Game({
String? id,
DateTime? createdAt,
required this.name,
required this.ruleset,
String? description,
required this.color,
required this.icon,
String? id,
DateTime? createdAt,
String? description,
String? icon,
}) : id = id ?? const Uuid().v4(),
createdAt = createdAt ?? clock.now(),
description = description ?? '';
description = description ?? '',
icon = icon ?? '';
@override
String toString() {