startVpn method

  1. @override
Future<void> startVpn({
  1. required String serverAddress,
  2. required String wgQuickConfig,
  3. required String providerBundleIdentifier,
})
override

Implementation

@override
Future<void> startVpn({
  required String serverAddress,
  required String wgQuickConfig,
  required String providerBundleIdentifier,
}) async {
  return _methodChannel.invokeMethod("start", {
    "serverAddress": serverAddress,
    "wgQuickConfig": wgQuickConfig,
    "providerBundleIdentifier": providerBundleIdentifier,
  });
}