applyFunction method
Implementation
dynamic applyFunction(
String? thisRef,
List<dynamic> arguments,
String objectRef,
) {
if (!kIsMPFlutterDevmode) {
throw "未开启 MPFlutter Debugger 标志,MPJS 调用失败。";
}
final result = IsolateDevServer.shared.invokeMethod(
_MPJSMethodList.applyFunction,
{
"thisRef": thisRef,
"arguments": arguments,
"objectRef": objectRef,
},
);
return result;
}