withDataPointIndex method

PointAnnotation withDataPointIndex(
  1. int value
)

Replaces PointAnnotation.dataPointIndex with value.

Implementation

PointAnnotation withDataPointIndex(int value) =>
    copyWith(dataPointIndex: value);