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