bimap<L2, R2> method
Applies ifLeft or ifRight and returns a new Either with mapped values.
Implementation
@override
Either<L2, R2> bimap<L2, R2>(
L2 Function(L left) ifLeft,
R2 Function(R right) ifRight,
) {
return Right<L2, R2>(ifRight(value));
}