SparkChartIndexedValueMapper<R> typedef Null safety

SparkChartIndexedValueMapper<R> = R Function(int index)

Signature for the callback that returns the dynamic value from the data source based on the index.

Implementation

typedef SparkChartIndexedValueMapper<R> = R Function(int index);