andThen<U> 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
@override
Option<U> andThen<U>(Option<U> Function(T self) f) {
return f(v);
}