filterMap<Z> method

  1. @override
Option<Z> filterMap<Z>(
  1. Option<Z> f(
    1. Never t
    )
)
override

If this Option is a Some and calling f returns Some, then return this Some. Otherwise return None.

Implementation

@override
Option<Z> filterMap<Z>(Option<Z> Function(Never t) f) => const Option.none();