Either<L, R>.left constructor
const
Either<L, R>.left (
- L? _left
Either.left is the constructor for returning a left value.
Implementation
const Either.left(this._left) : _right = null;