Signature to return the double values from the data source based on the index.
typedef IndexedDoubleValueMapper = double? Function(int index);