CheckCallback typedef Null safety

CheckCallback = dynamic Function(Color color)

Implementation

typedef CheckCallback(chessjs.Color color);