andThen<U extends Object> abstract method

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

Result<U, E> andThen<U extends Object>(Result<U, E> Function(T) op);