unwrap method

Future<T> unwrap()

Unwraps an option, yielding the content of a Some.

Throws an empty exception if this result is a None.

Implementation

Future<T> unwrap() => then((v) => v.unwrap());