andThen<U extends Object> method
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));