leftOrNull method

  1. @override
L? leftOrNull()
override

Returns the Left value if this is a Left, otherwise null.

Implementation

@override
L? leftOrNull() => value;