unwrapOrElse method

Future<T> unwrapOrElse(
  1. T f()
)

Implementation

Future<T> unwrapOrElse(T Function() f) {
  return then((option) => option.unwrapOrElse(f));
}