valueOrNull property

T? get valueOrNull

Implementation

T? get valueOrNull => (isSuccess) ? (this as Success).value : null;