toNullable method
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
@override
T? toNullable() => null;
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
.
@override
T? toNullable() => null;