getLeft method

  1. @override
Option<L> getLeft()
override

Extract the value from Left in a Option.

If the Either is Right, return None.

Implementation

@override
Option<L> getLeft() => Some(_value);