add property

T Function(List<T> data, num newValue) add
final

A function to take a list of inputs, and an average value, and create a new data point from the data points and the new value. Examples include using the middle x value of a set of points for the x value of the resulting point, and the new average for the y value.

Implementation

final T Function(List<T> data, num newValue) add;