instance property

VpnSdpPlatform get instance

The default instance of VpnSdpPlatform to use.

Defaults to MethodChannelVpnSdp.

Implementation

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

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

Implementation

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