eval method

dynamic eval(
  1. String script, [
  2. String filepath = "<inline>"
])
override

Implementation

eval(String script, [String filepath = "<inline>"]) {
  _arguments[0].setString(script, this);
  _arguments[1].setString(filepath, this);
  return _action(JS_ACTION_EVAL, 2, block: (results, length) => results[0].get(this));
}