andThenAsync<U extends Object> method

  1. @override
Future<Result<U, E>> andThenAsync<U extends Object>(
  1. Future<Result<U, E>> op(
    1. T
    )
)
override

Asynchronously calls op with the Ok value if the result is Ok, otherwise returns this.

Implementation

@override
Future<Result<U, E>> andThenAsync<U extends Object>(
  Future<Result<U, E>> Function(T) op,
) =>
    Future.value(Err(_err));