orElseNull property

T? get orElseNull

Returns this Optional's value, if present, as nullable. Otherwise, returns null.

Implementation

T? get orElseNull;