unwrapOrElseAsync method
Unwraps a result, yielding the content of an Ok
. If the value is an
Err
then it asynchronously calls op
with its value.
Implementation
Future<T> unwrapOrElseAsync(Future<T> Function(E) op) =>
then((result) => result.unwrapOrElseAsync(op));