Implemented name count update in player selection
Some checks failed
Pull Request Pipeline / test (pull_request) Failing after 43s
Pull Request Pipeline / lint (pull_request) Successful in 49s

This commit is contained in:
2026-04-19 23:22:14 +02:00
parent 653b85d28d
commit fcf845af4d
2 changed files with 20 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ class Player {
final String id;
final DateTime createdAt;
final String name;
final int nameCount;
int nameCount;
final String description;
Player({
@@ -20,7 +20,7 @@ class Player {
@override
String toString() {
return 'Player{id: $id, name: $name, description: $description}';
return 'Player{id: $id, createdAt: $createdAt, name: $name, nameCount: $nameCount, description: $description}';
}
/// Creates a Player instance from a JSON object.