Either<L, R>.of constructor

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

Return a Right(r).

Same as Either.right(r).

Implementation

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