instance property

V2rayMyanmarPlatform get instance

The default instance of V2rayMyanmarPlatform to use.

Defaults to MethodChannelV2rayMyanmar.

Implementation

static V2rayMyanmarPlatform get instance => _instance;
set instance (V2rayMyanmarPlatform instance)

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

Implementation

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