or<F2 extends Object> method

  1. @override
Result<S, F2> or<F2 extends Object>(
  1. Result<S, F2> other
)
override

Performs an "or" operation on the results. Returns the first Ok value, if neither are Ok, returns the other Err.

Implementation

@override
@pragma("vm:prefer-inline")
Result<S, F2> or<F2 extends Object>(Result<S, F2> other) {
  return into();
}