SelectionArgs constructor Null safety

SelectionArgs(
  1. {required dynamic seriesRenderer,
  2. required int seriesIndex,
  3. required int viewportPointIndex,
  4. required int pointIndex}
)

Creating an argument constructor of SelectionArgs class.

Implementation

SelectionArgs(
    {required this.seriesRenderer,
    required this.seriesIndex,
    required this.viewportPointIndex,
    required this.pointIndex});