setLicence static method
Implementation
static Future<void> setLicence(String url, String key) async {
LiveLoadDynamicLib.getPluginChannel().invokeMethod('initialize');
ffi.Pointer<ffi.Int8> nativeURL = url.toNativeUtf8().cast<ffi.Int8>();
ffi.Pointer<ffi.Int8> nativeKey = key.toNativeUtf8().cast<ffi.Int8>();
_premierFFIBindings.setLicence(nativeURL, nativeKey);
calloc.free(nativeURL);
calloc.free(nativeKey);
}