maybeValue property

Success? maybeValue

Returns the value for success and null for failure.

Prefer using when.

Warning: if the Success type is nullable, you won't be able to tell the difference between a success null and a failure.

Implementation

Success? get maybeValue;