connectIPSec static method
Connect to VPN. (IPSec)
This will create a background VPN service. Android implementation is not available.
Implementation
static Future<void> connectIPSec({
required String server,
required String username,
required String password,
required String secret,
String? name,
int? mtu,
int? port,
}) async =>
FlutterVpnPlatform.instance.connectIPSec(
server: server,
username: username,
password: password,
secret: secret,
name: name,
mtu: mtu,
port: port,
);