flip method

CastlingRights flip(
  1. int right
)

Implementation

CastlingRights flip(int right) => this ^ right;