isWhite property
bool
isWhite
Returns true
if this piece is white.
Implementation
bool get isWhite => color == PieceColor.white;
Returns true
if this piece is white.
bool get isWhite => color == PieceColor.white;