instance property

V2rayPlatform instance

The default instance of V2rayPlatform to use.

Defaults to MethodChannelV2ray.

Implementation

static V2rayPlatform get instance => _instance;
void instance=(V2rayPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends V2rayPlatform when they register themselves.

Implementation

static set instance(V2rayPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}