ReadVarExpr constructor

ReadVarExpr(
  1. dynamic name, [
  2. OutputType? type
])

Implementation

ReadVarExpr(dynamic /* String | BuiltinVar */ name, [OutputType? type])
    : super(type) {
  if (name is String) {
    this.name = name;
    builtin = null;
  } else {
    this.name = null;
    builtin = name as BuiltinVar;
  }
}