visitWriteVarExpr method

  1. @override
Expression visitWriteVarExpr(
  1. WriteVarExpr expr,
  2. C context, {
  3. bool checkForNull = false,
})
override

Implementation

@override
Expression visitWriteVarExpr(WriteVarExpr expr, C context,
    {bool checkForNull = false}) {
  if (checkForNull) {
    return WriteIfNullExpr(
        expr.name, expr.value.visitExpression(this, context));
  }
  return WriteVarExpr(expr.name, expr.value.visitExpression(this, context));
}