squareSymbol property
When this is true, the legend symbol width will be the same as the symbol height, which in turn defaults to the font size of the legend items.
API Docs: https://api.highcharts.com/highcharts/legend.squareSymbol
Implementation
bool? squareSymbol;