andThen<C> method

  1. @override
IOOption<C> andThen<C>(
  1. covariant IOOption<C> then()
)
override

If running this IOOption returns Some, then return the result of calling then. Otherwise return None.

Implementation

@override
IOOption<C> andThen<C>(covariant IOOption<C> Function() then) =>
    flatMap((_) => then());