playerNames property

IList<PlayerID> get playerNames

Returns the list of players involved in the game

Implementation

IList<PlayerID> get playerNames => _players.map((p) => p.name).toIList();