unwrapErr method

  1. @override
F unwrapErr()
override

Returns the err value if Result is Err. Throws a Panic if the Result is Ok.

Implementation

@override
@pragma("vm:prefer-inline")
F unwrapErr() {
  return err;
}