ChartValueMapper<T, R> typedef Null safety

ChartValueMapper<T, R> = R? Function(T datum, int index)

Maps the data from data source.

Implementation

typedef ChartValueMapper<T, R> = R? Function(T datum, int index);