resultMap<R extends Object> method

  1. @override
Sync<R> resultMap<R extends Object>(
  1. @noFutures Result<R> noFutures(
    1. Result<T> value
    )
)
override

Maps the inner Result of this Resolvable using mapper.

Implementation

@override
@pragma('vm:prefer-inline')
Sync<R> resultMap<R extends Object>(
  @noFutures Result<R> Function(Result<T> value) noFutures,
) {
  return Sync(() => noFutures(value).unwrap());
}