orElse<F extends Object> method
Calls op
with the Err
value if the result is Err
, otherwise returns
this
.
Implementation
Future<Result<T, F>> orElse<F extends Object>(Result<T, F> Function(E) op) =>
then((result) => result.orElse(op));