rightOrNull method

  1. @override
R? rightOrNull()
override

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

Implementation

@override
R? rightOrNull() => value;