fromAst static method
Implementation
static MethodInvocation? fromAst(Map? ast) {
if (ast != null &&
ast['type'] == astNodeNameValue(AstNodeName.MethodInvocation)) {
return MethodInvocation(
Expression.fromAst(ast['callee']),
_parseArgumentList(ast['argumentList']),
SelectAstClass.fromAst(ast['selectAstClass']),
_parseTypeArgumentList(ast['typeArguments']),
ast: ast);
}
return null;
}