map<R1> method

Mapper<T, R1> map<R1>(
  1. Mapper<R, R1> next
)

Returns a composed Mapper that calls this Mapper and applies the result to next.

Implementation

Mapper<T, R1> map<R1>(Mapper<R, R1> next) => (value) => next(this(value));