Either<L, R>.right constructor

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

Either.left is the constructor for returning a right value.

Implementation

const Either.right(this._right) : _left = null;