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