FlutterVpn class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString ()
→ String
A string representation of this object.
inherited
Static Methods
connectIkev2EAP ({required String server , required String username , required String password , String ? name , int ? mtu , int ? port })
→ Future <void >
Connect to VPN. (IKEv2-EAP)
connectIPSec ({required String server , required String username , required String password , required String secret , String ? name , int ? mtu , int ? port })
→ Future <void >
Connect to VPN. (IPSec)
disconnect ()
→ Future <void >
Disconnect and stop VPN service.
prepare ()
→ Future <bool >
Prepare for vpn connection. (Android only)