$setProperty method
Set a property by identifier
on this instance to value
Implementation
@override
void $setProperty(Runtime runtime, String identifier, $Value value) {
final setter = evalClass.setters[identifier];
if (setter == null) {
if (evalSuperclass != null) {
return evalSuperclass!.$setProperty(runtime, identifier, value);
} else {
throw EvalUnknownPropertyException(identifier);
}
}
runtime.args.add(this);
runtime.args.add(value);
runtime.bridgeCall(setter);
}