Either<L, R>.right constructor

const Either<L, R>.right(
  1. R value
)

Represents the right side of the disjoint union (by convention, a success).

Implementation

const factory Either.right(R value) = Right;