copy method

  1. @override
Err<S, F> copy()
override

Performs a shallow copy of this result.

Implementation

@override
@pragma("vm:prefer-inline")
Err<S, F> copy() {
  return Err(err);
}