logic property Null safety

Chess logic

Implementation

chessjs.Chess get logic => _logic;