unwrap method

Future<T> unwrap()

Unwraps a result, yielding the content of an Ok.

Throws the contained error if this result is an Err.

Implementation

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