ChessBoardInterface constructor

ChessBoardInterface({
  1. String? fen,
  2. Duration? timeLimit,
})

Implementation

ChessBoardInterface({this.fen, this.timeLimit}) {
  initFEN(fen ?? initialFENState);
  if (timeLimit != null) switchTimer();
}