singleCheck method
- AbstractCheck check
Add a check to this command that does not apply to this commands children.
You might also be interested in:
check
, the equivalent method for inherited checks.
Implementation
void singleCheck(AbstractCheck check) {
for (final preCallHook in check.preCallHooks) {
onPreCall.listen(preCallHook);
}
for (final postCallHook in check.postCallHooks) {
onPostCall.listen(postCallHook);
}
singleChecks.add(check);
}