andThen<U extends Object> method

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

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

Implementation

@override
Result<U, E> andThen<U extends Object>(Result<U, E> Function(T) op) =>
    Err(_err);