destroyConfig method
Destroys a VPN configuration created by the extension. |id|: ID of the VPN configuration to destroy. |callback|: Called when the configuration is destroyed or if there is an error.
Implementation
Future<void> destroyConfig(String id) async {
await promiseToFuture<void>($js.chrome.vpnProvider.destroyConfig(id));
}