asValue property

  1. @override
ValueResult<Never>? asValue
override

If this is a value result, returns itself.

Otherwise returns null.

Implementation

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