callEnd method
Implementation
Future<Map<dynamic, dynamic>> callEnd(String callID, dynamic config) async {
Object _config = mapToJSObj(config);
final result =
await promiseToFuture(ZIM.getInstance()!.callEnd(callID, _config))
.catchError((e) {
throw PlatformException(code: e.code.toString(), message: e.message);
});
return jsObjectToMap(result);
}