putPiece method
Puts piece on a square
Implementation
void putPiece(PieceType piece, String square, PieceColor color) {
game?.put(_getPiece(piece, color), square);
refreshBoard == null ? this._throwNotAttachedException() : refreshBoard();
}
Puts piece on a square
void putPiece(PieceType piece, String square, PieceColor color) {
game?.put(_getPiece(piece, color), square);
refreshBoard == null ? this._throwNotAttachedException() : refreshBoard();
}