asValue property

  1. @override
ValueResult<T> get asValue
override

If this is a value result, returns itself.

Otherwise returns null.

Implementation

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