andThen<U extends Object> method

Future<Option<U>> andThen<U extends Object>(
  1. Option<U> op(
    1. T
    )
)

Returns None if the option is None, otherwise calls op with the wrapped value and returns the result.

Implementation

Future<Option<U>> andThen<U extends Object>(Option<U> Function(T) op) =>
    andThenAsync(op);