withRoyal method

PieceType withRoyal()

Returns a royal version of the piece type.

Implementation

PieceType withRoyal() =>
    copyWith(royal: true, promoOptions: PiecePromoOptions.none);