check method
Implementation
@override
void check(
DcqRegistry registry,
) {
registry.addMethodInvocation((node) {
_check(node.methodName.name, node.argumentList, node);
});
registry.addFunctionExpressionInvocation((node) {
final function = node.function;
if (function is SimpleIdentifier) {
_check(function.name, node.argumentList, node);
}
});
}