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