callExperimentalAPI method

  1. @override
Future<V2TimValueCallback<Object>> callExperimentalAPI({
  1. required String api,
  2. Object? param,
})
override

实验性 API 接口

参数 api 接口名称 param 接口参数 该接口提供一些实验性功能

注意:web不支持该接口

Implementation

@override
Future<V2TimValueCallback<Object>> callExperimentalAPI({
  required String api,
  Object? param,
}) async {
  return V2TimValueCallback<Object>.fromJson(
    formatJson(
      await _channel.invokeMethod(
        "callExperimentalAPI",
        buildTimManagerParam(
          {
            "api": api,
            "param": param,
          },
        ),
      ),
    ),
  );
}