isDeclarationIgnoredFor static method
Static helper to check declaration-level suppression for a given
toolName.
Implementation
static bool isDeclarationIgnoredFor(
AstNode node, {
required String toolName,
}) => CommentDirectiveParser(toolName).isDeclarationIgnored(node);