callExperimentalAPI static method

Future<V2TXLiveCode> callExperimentalAPI(
  1. String jsonStr
)

Implementation

static Future<V2TXLiveCode> callExperimentalAPI(String jsonStr) async {
  LiveLoadDynamicLib.getPluginChannel().invokeMethod('initialize');
  ffi.Pointer<ffi.Int8> nativeJsonStr = jsonStr.toNativeUtf8().cast<ffi.Int8>();
  var result = _premierFFIBindings.callExperimentalAPI(nativeJsonStr);

  calloc.free(nativeJsonStr);
  return result;
}