swapEither method

Stream<Either<R, L>> swapEither()

Future Swap Left and Right

Implementation

Stream<Either<R, L>> swapEither() =>
    map((Either<L, R> either) => either.swap());