shouldNeverReachHere static method
Always throws an AssertionFailedException
with the given
message.
@param message a description of the assertion @throws AssertionFailedException thrown always
Implementation
static void shouldNeverReachHere([String? message]) {
assert(true,
"Should never reach here" + (message != null ? ": " + message : ""));
}