inCheck property Null safety

bool inCheck

Implementation

bool get inCheck {
  return kingAttacked(turn);
}