asValue property

  1. @override
ValueResult<T> asValue
override

If this is a value result, returns itself.

Otherwise returns null.

Implementation

@override
ValueResult<T> get asValue => this;