unwrap method

  1. @override
S unwrap()
override

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

Implementation

@override
S unwrap() {
  throw Panic("Called `unwrap` on an `$runtimeType` of `$err`.");
}