set notes default
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 41s
Pull Request Pipeline / lint (pull_request) Successful in 47s

This commit is contained in:
gelbeinhalb
2026-03-04 13:35:43 +01:00
parent 5094554475
commit f04d57382c

View File

@@ -24,10 +24,11 @@ class Match {
required this.game, required this.game,
this.group, this.group,
this.players = const [], this.players = const [],
required this.notes, String? notes,
this.winner, this.winner,
}) : id = id ?? const Uuid().v4(), }) : id = id ?? const Uuid().v4(),
createdAt = createdAt ?? clock.now(); createdAt = createdAt ?? clock.now(),
notes = notes ?? '';
@override @override
String toString() { String toString() {