FlutterV2rayPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • FlutterV2rayPlatform
Implementers

Constructors

FlutterV2rayPlatform()
Constructs a FlutterV2rayPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConnectedServerDelay() Future<int>
getCoreVersion() Future<String>
getServerDelay({required String config}) Future<int>
initializeV2Ray({required void onStatusChanged(V2RayStatus status)}) Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermission() Future<bool>
startV2Ray({required String remark, required String config, List<String>? blockedApps, List<String>? bypassSubnets, bool proxyOnly = false}) Future<void>
stopV2Ray() Future<void>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance FlutterV2rayPlatform
The default instance of FlutterV2rayPlatform to use.
getter/setter pair