left property

L left

Get Left value, may throw an exception when the value is Right

Implementation

L get left => this.fold<L>(
    (value) => value,
    (right) => throw Exception(
        'Illegal use. You should check isLeft before calling'));