GetNextValue typedef Null safety

GetNextValue = int Function(int index)

Implementation

typedef int GetNextValue(int index);