setAsSystemProxy method
set system proxy
Implementation
Future<void> setAsSystemProxy(ProxyTypes types, String url, int port) async {
switch (Platform.operatingSystem) {
case "windows":
await _setAsSystemProxyWindows(types, url, port);
break;
case "linux":
_setAsSystemProxyLinux(types, url, port);
break;
case "macos":
await _setAsSystemProxyMacos(types, url, port);
break;
}
}