okOrElse<E extends Object> method
Ok<T, Never>
okOrElse<E extends Object>(
- E errFn()
Implementation
@pragma("vm:prefer-inline")
Ok<T, Infallible> okOrElse<E extends Object>(E Function() errFn) {
return Ok(v);
}