okOr<E extends Object> method

Err<Never, E> okOr<E extends Object>(
  1. E err
)

Implementation

@pragma("vm:prefer-inline")
Err<Infallible, E> okOr<E extends Object>(E err) {
  return Err(err);
}