fmap<B> method

  1. @override
Maybe<B> fmap<B>(
  1. B fn(
    1. t p1
    )
)
inherited

Implementation

@override
Maybe<B> fmap<B>(B Function(T p1) fn) => _self.visit<Maybe<B>>(
      just: (v) => Just<B>(fn(v)),
      none: () => None<B>(),
    );