swap method

  1. @override
Either<R, L> swap()
override

Swap the values contained inside the Left and Right of this Either.

Implementation

@override
Either<R, L> swap() => Left(_value);