bind<T1> method

  1. @override
Maybe<T1> bind<T1>(
  1. covariant Maybe<T1> f(
    1. t
    )
)
inherited

Executes an mapping operation which is partial in case an value is present and flattens the result into a single Maybe.

Implementation

@override
Maybe<T1> bind<T1>(Maybe<T1> Function(T) f) => _self.visit<Maybe<T1>>(
      just: f,
      none: () => None<T1>(),
    );