runExpression method
Implementation
@override
Object? runExpression(String expression, Map<String, Object?> value,
{Map<String, Object?>? properties}) {
final exp =
'''surveyjs.runExpression("$expression","${escape(json.encode(value))}")''';
final jsResult = jsRuntime!.evaluate(exp);
if (jsResult.isError) {
throw Exception(jsResult.rawResult);
}
return jsResult.rawResult;
}