Returns the Right value if this is a Right, otherwise null.
null
@override R? rightOrNull() => value;