canBePromoted property
bool
get
canBePromoted
Whether the piece type can be promoted
Implementation
bool get canBePromoted => _piecesWhichCanBePromoted.contains(this);
Whether the piece type can be promoted
bool get canBePromoted => _piecesWhichCanBePromoted.contains(this);