Union<L, R>.right constructor

Union<L, R>.right(
  1. R right
)

Creates a Union with the given value of type R.

Implementation

factory Union.right(R right) => _Right(right);