toNullable abstract method

T? toNullable()
inherited

Returns an nullable that represents this optional value.

If Option has Some value, it will return that value. If Option has a None value, it will return null.

Implementation

T? toNullable();