evaluateAsync method
Implementation
@override
Future<JsEvalResult> evaluateAsync(String code, {String? sourceUrl}) async {
String strResult = await _flutterJs.eval(code);
return JsEvalResult(
strResult,
null,
isError: strResult.startsWith('ERROR:'),
isPromise: strResult == '[object Promise]',
);
}