mapFutureOr<R extends Object> method
Maps the contained Ok value using a function that returns a FutureOr
.
Implementation
@override
@pragma('vm:prefer-inline')
Async<R> mapFutureOr<R extends Object>(FutureOr<R> Function(T value) mapper) {
return Async(() async => mapper((await value).unwrap()));
}