asyncMap<U> method

ResultAsync<U, E> asyncMap<U>(
  1. Future<U> f(
    1. T t
    )
)

Maps a Result<T, E> to ResultAsync<U, E> by applying an async function to a contained Ok value, leaving an Err value untouched.

@param f An async function to apply an OK value

Implementation

ResultAsync<U, E> asyncMap<U>(Future<U> Function(T t) f) =>
    throw UnimplementedError();