andThen<U extends Object> method

Future<Result<U, E>> andThen<U extends Object>(
  1. Result<U, E> op(
    1. T
    )
)

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

Implementation

Future<Result<U, E>> andThen<U extends Object>(Result<U, E> Function(T) op) =>
    then((result) => result.andThen(op));