ValueMapper<T, TR> typedef Null safety

ValueMapper<T, TR> = TR Function(T value)

Implementation

typedef TR ValueMapper<T, TR>(T value);