getOrCrash method

T getOrCrash()

Implementation

T getOrCrash() => value.fold((f) => throw UnexpectedValueError(f), id);