and<U extends Object> method
Returns None if the option is None, otherwise returns other
.
Implementation
@pragma("vm:prefer-inline")
Option<U> and<U extends Object>(Option<U> other) {
return v == null ? None : other;
}