unwrapOrNull method
Returns the value of Ok or null. Note: This should not be used to determine is Ok or is Err, since when the success type is nullable, a null is ambiguous in meaning.
Implementation
@override
@pragma("vm:prefer-inline")
S? unwrapOrNull() => null;