ChartPoint<D> constructor Null safety

ChartPoint<D>(
  1. [dynamic x,
  2. num? y,
  3. String? radius,
  4. Color? pointColor,
  5. D? sortValue]
)

Creating an argument constructor of ChartPoint class.

Implementation

ChartPoint([this.x, this.y, this.radius, this.pointColor, this.sortValue]);