call method

dynamic call([
  1. List? arguments
])
override

Implementation

dynamic call([List<dynamic>? arguments]) {
  final result = DevMPJSHost.shared.applyFunction(
    null,
    arguments?.map((e) => JSObject.transformToBrowserJSObject(e)).toList() ??
        [],
    objectRef,
  );
  return JSObject.transformToMPJSObject(result);
}