unwrap method

  1. @override
O unwrap([
  1. dynamic reason
])
override

Unwrap the result to get the Ok value.

Should be used cautiously, as unwrapping an error will throw reason.

Implementation

@override
O unwrap([reason]) => throw reason;