asExpected property

  1. @override
Never get asExpected
override

Caution

asExpected is unsafe code.
Throwable LoggerResultlErrorA wrapped in Panic then wrapped is not V.
This method's main uses is simple notation for test code.

Implementation

@override
Never get asExpected => Result.panic(LoggerResultlErrorA(), Log(classLocation: Suffer<V, EX, ER>, functionLocation: 'asExpected'));