CheckMateCallback typedef Null safety

CheckMateCallback = Null Function(ChessboardPieceColor color)

Implementation

typedef Null CheckMateCallback(ChessboardPieceColor color);