andThen<R2> method

  1. @override
Either<L, R2> andThen<R2>(
  1. covariant Either<L, R2> then(
      )
    )
    override

    If this Either is a Right, then return the result of calling then. Otherwise return Left.

    Implementation

    @override
    Either<L, R2> andThen<R2>(covariant Either<L, R2> Function() then) =>
        flatMap((_) => then());