map<P> method

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

Maps the value to P.

Implementation

@override
Maybe<P> map<P>(P Function(T value) mapper) => Just(mapper(value));