objectCall method
Implementation
Object objectCall(
obj,
method, {
List<Object>? args,
}) async {
String data = await _controller.runJavascriptReturningResult(
"objectCall('" +
json.encode(obj) +
"' ,'" +
method +
"' ,'" +
json.encode(args ?? []) +
"');");
return json.decode(data);
}