visitInstantiateExpr method
Implementation
@override
void visitInstantiateExpr(
o.InstantiateExpr ast, EmitterVisitorContext context) {
context.print('new ');
ast.classExpr.visitExpression(this, context);
context.print('(');
visitAllExpressions(ast.args, context, ',');
visitAllNamedExpressions(
ast.namedArgs,
context,
',',
alwaysAddSeperator: ast.args.isNotEmpty,
);
context.print(')');
}