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