asOk property

S get asOk

The success value. Throws if this is a Failure.

Implementation

S get asOk => _result.asSuccess;