connectIkev2EAP static method

Future<void> connectIkev2EAP({
  1. required String server,
  2. required String username,
  3. required String password,
  4. String? name,
  5. int? mtu,
  6. int? port,
})

Connect to VPN. (IKEv2-EAP)

This will create a background VPN service. MTU is only available on android.

Implementation

static Future<void> connectIkev2EAP({
  required String server,
  required String username,
  required String password,
  String? name,
  int? mtu,
  int? port,
}) =>
    FlutterVpnPlatform.instance.connectIkev2EAP(
      server: server,
      username: username,
      password: password,
      name: name,
      mtu: mtu,
      port: port,
    );