callMethod method
Implementation
dynamic callMethod(String method, [List<dynamic>? arguments]) {
final result = DevMPJSHost.shared.callMethod(
method,
arguments?.map((e) => transformToBrowserJSObject(e)).toList() ?? [],
objectRef,
);
return transformToMPJSObject(result);
}