withRoyal method
Returns a royal version of the piece type.
Implementation
PieceType withRoyal() =>
copyWith(royal: true, promoOptions: PiecePromoOptions.none);
Returns a royal version of the piece type.
PieceType withRoyal() =>
copyWith(royal: true, promoOptions: PiecePromoOptions.none);