operator []= method

void operator []=(
  1. ChartDataPointType pointType,
  2. dynamic value
)

Implementation

void operator []=(ChartDataPointType pointType, dynamic value) {
  if (pointType == ChartDataPointType.y) {
    y = value;
  }
}