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