getParameterValueByIndex method
Implementation
FutureOr<ASTValue?> getParameterValueByIndex(VMContext context, int index) {
var p = getParameterByIndex(index);
if (p == null) return null;
var variable = context.getVariable(p.name, false);
if (variable == null) return null;
return variable.resolveMapped((v) => v?.getValue(context));
}