Creating an argument constructor of LegendRenderArgs class.
LegendRenderArgs([ this.seriesIndex, this.pointIndex, ]);