getParameterValueByName method

FutureOr<ASTValue?> getParameterValueByName(
  1. VMContext context,
  2. String name
)

Implementation

FutureOr<ASTValue?> getParameterValueByName(VMContext context, String name) {
  var p = getParameterByName(name);
  if (p == null) return null;
  return context.getVariable(p.name, false).resolveMapped((variable) {
    return variable?.getValue(context);
  });
}