fromAst static method
Implementation
static Identifier? fromAst(Map? ast) {
if (ast != null &&
ast['type'] == astNodeNameValue(AstNodeName.Identifier)) {
return Identifier(ast['name'], ast: ast);
}
return null;
}
static Identifier? fromAst(Map? ast) {
if (ast != null &&
ast['type'] == astNodeNameValue(AstNodeName.Identifier)) {
return Identifier(ast['name'], ast: ast);
}
return null;
}