unwrap method

  1. @override
  2. @unsafeOrError
Future<T> unwrap()
override

Unsafely returns the contained value. Throws Err the Monad is an Err or None.

Implementation

@override
@unsafeOrError
@pragma('vm:prefer-inline')
Future<T> unwrap() => value.then((e) => e.unwrap());