map<O2> method

Method<I, O2> map<O2>(
  1. Method<O, O2> mapper
)

Implementation

Method<I, O2> map<O2>(final Method<O, O2> mapper) {
  return (input) => mapper(this(input));
}