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