plainValueOfObject method

dynamic plainValueOfObject(
  1. String objectRef
)

Implementation

dynamic plainValueOfObject(String objectRef) {
  if (!kIsMPFlutterDevmode) {
    throw "未开启 MPFlutter Debugger 标志,MPJS 调用失败。";
  }
  final result = IsolateDevServer.shared.invokeMethod(
    _MPJSMethodList.plainValueOfObject,
    {
      "objectRef": objectRef,
    },
  );
  return result;
}