fromAst static method
Implementation
static PrefixExpression? fromAst(Map? ast) {
if (ast != null &&
ast['type'] == astNodeNameValue(AstNodeName.PrefixExpression)) {
return PrefixExpression(Expression.fromAst(ast['argument']),
ast['operator'], ast['prefix'] as bool,
ast: ast);
}
return null;
}