okOrElse<E extends Object> method
Implementation
Ok<T, Infallible> okOrElse<E extends Object>(E Function() errFn) {
return Ok(v);
}
Ok<T, Infallible> okOrElse<E extends Object>(E Function() errFn) {
return Ok(v);
}