FlutterV2ray class
Methods
-
getConnectedServerDelay({String url = 'https://google.com/generate_204'})
→ Future<int>
-
This method returns the connected server delay.
-
getCoreVersion()
→ Future<String>
-
-
getServerDelay({required String config, String url = 'https://google.com/generate_204'})
→ Future<int>
-
This method returns the real server delay of the configuration.
-
initializeVless({String notificationIconResourceType = "mipmap", String notificationIconResourceName = "ic_launcher", String providerBundleIdentifier = "", String groupIdentifier = ""})
→ Future<void>
-
Initializes the VPN plugin with platform-specific configuration.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission()
→ Future<bool>
-
Requests VPN permission from the user (Android).
-
startVless({required String config, List<String>? blockedApps, List<String>? bypassSubnets, List<String>? dnsServers, bool proxyOnly = false, String notificationDisconnectButtonName = "DISCONNECT", bool showNotificationDisconnectButton = true})
→ Future<void>
-
Start FlutterVless service.
-
stopVless()
→ Future<void>
-
Stop FlutterVless service.
-
toString()
→ String
-
A string representation of this object.
inherited