objectCall method

Object objectCall(
  1. dynamic obj,
  2. dynamic method, {
  3. List<Object>? args,
})

Implementation

Object objectCall(obj, method, {List<Object>? args}) async =>
    await _controller.runJavaScriptReturningResult(
      "objectCall('" +
          json.encode(obj) +
          "' ,'" +
          method +
          "' ,'" +
          json.encode(args ?? []) +
          "');",
    );