removePublishCdnUrl method
Implementation
Future<Map<dynamic, dynamic>> removePublishCdnUrl(
String streamID, String targetURL) async {
final map = {};
try {
final promise = callMethod(ZegoFlutterEngine.instance,
'removePublishCdnUrl', [streamID, targetURL]);
final result = await promiseToFuture(promise);
map["errorCode"] = getProperty(result, 'errorCode');
} catch (error) {
map["errorCode"] = getProperty(error, 'errorCode');
}
return Future.value(map);
}