evalJS function
Call eval() with the content of scriptCode and returns the result.
Implementation
dynamic evalJS(String scriptCode) {
var res = context.callMethod('eval', [scriptCode]);
return res;
}
Call eval() with the content of scriptCode and returns the result.
dynamic evalJS(String scriptCode) {
var res = context.callMethod('eval', [scriptCode]);
return res;
}