Either<L, R>.right constructor
const
Either<L, R>.right (
- R value
Represents the right side of the disjoint union (by convention, a success).
Implementation
const factory Either.right(R value) = Right;