ValueResultMapper<T, TR> typedef Null safety

ValueResultMapper<T, TR> = TR Function(ValueResult<T> result)

Mapper function for result state with value

Implementation

typedef TR ValueResultMapper<T, TR>(ValueResult<T> result);