andThen<U> abstract method
Returns None if the option is None, otherwise calls f with the wrapped value and returns the result. Some languages call this operation flatmap.
Implementation
Option<U> andThen<U>(Option<U> Function(T) f);