createConfig method

Future<String> createConfig(
  1. String name
)

Creates a new VPN configuration that persists across multiple login sessions of the user. |name|: The name of the VPN configuration. |callback|: Called when the configuration is created or if there is an error.

Implementation

Future<String> createConfig(String name) async {
  var $res = await promiseToFuture<String>(
      $js.chrome.vpnProvider.createConfig(name));
  return $res;
}