asValue property Null safety

ValueResult<T>? asValue

If this is a value result, returns itself.

Otherwise returns null.

Implementation

ValueResult<T>? get asValue;