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