segmentAt method

  1. @override
ChartSegment segmentAt(
  1. int segmentPointIndex
)
override

Implementation

@override
ChartSegment segmentAt(int segmentPointIndex) {
  return segments.firstWhere((ChartSegment segment) =>
      segment.currentSegmentIndex == segmentPointIndex);
}