okOrElse<E extends Object> method
Implementation
@pragma("vm:prefer-inline")
Future<Result<T, E>> okOrElse<E extends Object>(E Function() errFn) {
return then((option) => option.okOrElse(errFn));
}
@pragma("vm:prefer-inline")
Future<Result<T, E>> okOrElse<E extends Object>(E Function() errFn) {
return then((option) => option.okOrElse(errFn));
}