withNoPromotion method
Returns a copy of the piece type with PiecePromoOptions.none
.
Implementation
PieceType withNoPromotion() => copyWith(promoOptions: PiecePromoOptions.none);
Returns a copy of the piece type with PiecePromoOptions.none
.
PieceType withNoPromotion() => copyWith(promoOptions: PiecePromoOptions.none);