deny static method
- AbstractCheck check,
- {String? name}
Creates a check that succeeds if check
fails.
Note that AbstractCheck.preCallHooks and AbstractCheck.postCallHooks will therefore be executed if check
fails, and not when check
succeeds. Therefore, developers should take care that check
does not assume it succeeded in its call hooks.
Implementation
static AbstractCheck deny(AbstractCheck check, {String? name}) => _DenyCheck(check, name: name);