orElse<T extends Object> method

Option<T> orElse<T extends Object>(
  1. Option<T> f()
)

Implementation

@pragma("vm:prefer-inline")
Option<T> orElse<T extends Object>(Option<T> Function() f) {
  return f();
}