visitMethodDeclaration method
Record the parameters of the function or method declaration we last encountered before seeing the Intl.message call.
Implementation
@override
void visitMethodDeclaration(MethodDeclaration node) {
setFields(
name: node.name.lexeme,
parameters: node.parameters?.parameters,
documentation: node.documentationComment,
);
super.visitMethodDeclaration(node);
resetFields();
}