player property

PieceColor? player
final

The color of the player that resigned.

This is only set by the server, therefore clients can send null here.

Implementation

final insanichess.PieceColor? player;