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