Corrected docs
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user