asValue property Null safety

ValueResult<Never>? asValue
override

If this is a value result, returns itself.

Otherwise returns null.

Implementation

@override
ValueResult<Never>? get asValue => null;