Either<L, R>.right constructor

Either<L, R>.right(
  1. R r
)

Return a Right(r).

Same as Either.of(r).

Implementation

factory Either.right(R r) => Right(r);