mapAsync<U extends Object> method
Maps a Result<T, E>
to Result<U, E>
by applying an asynchronous
function to a contained Ok
value, leaving an Err
value untouched.
Implementation
@override
Future<Result<U, E>> mapAsync<U extends Object>(
Future<U> Function(T) op,
) =>
Future.value(Err(_err));