evaluate static method
Implementation
static Future<String> evaluate(String command, int? id,
{String convertTo = ""}) async {
var arguments = {
"engineId": id,
"command": command,
"convertTo": convertTo
};
final rs = await _methodChannel.invokeMethod("evaluate", arguments);
final String? jsResult = rs is Map || rs is List ? json.encode(rs) : rs;
if (DEBUG) {
print("${DateTime.now().toIso8601String()} - JS RESULT : $jsResult");
}
return jsResult ?? "null";
}