flatten method

Option<T> flatten()

Converts from Option<T?> to Option

Implementation

Option<T> flatten() {
  return Option._(v);
}