Chess.fromFEN constructor

Chess.fromFEN(
  1. String fen, {
  2. bool check_validity = true,
})

Start with a position from a FEN

Implementation

Chess.fromFEN(String fen, {bool check_validity = true}) {
  load(fen, check_validity: check_validity);
}