currentPlayer property

Player? currentPlayer

Gets the player at the currentPlayerIndex

Implementation

Player? get currentPlayer =>
    currentPlayerIndex == null ? null : players[currentPlayerIndex!];