Corrected docs

This commit is contained in:
2025-07-01 22:34:49 +02:00
parent 3c09d1f7f2
commit 9d3d6b3ca3

View File

@@ -72,7 +72,7 @@ class GameSession extends ChangeNotifier {
roundList = roundList =
(json['roundList'] as List).map((e) => Round.fromJson(e)).toList(); (json['roundList'] as List).map((e) => Round.fromJson(e)).toList();
/// Returns the length of all player names combined. /// Returns the length of the longest player name.
int getMaxLengthOfPlayerNames() { int getMaxLengthOfPlayerNames() {
int length = 0; int length = 0;
for (String player in players) { for (String player in players) {