totalScores property

IMap<PlayerID, double> totalScores

Gets the total score for each player based off of allRoundScores

Implementation

IMap<PlayerID, double> get totalScores =>
    playerRoundScores.mapValues((entry) => entry.value.sum);