flatMap<P> method

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

Maps the value to P.

Implementation

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