map<P> abstract method

Maybe<P> map<P>(
  1. P mapper(
    1. T value
    )
)

Maps the value to P.

Implementation

Maybe<P> map<P>(P Function(T value) mapper);