evaluateFunction method

Object evaluateFunction(
  1. String functionName, [
  2. List<Object> arguments = const []
])
Evaluates a function defined in ink. The name of the function as declared in ink. The arguments that the ink function takes, if any. Note that we don't (can't) do any validation on the number of arguments right now, so make sure you get it right!

Implementation

Object evaluateFunction(String functionName,
    [List<Object> arguments = const []]) {
  return evaluateFunctionString(functionName, null, arguments);
}