instance property
FlutterVpnPlatform
get
instance
The default instance of FlutterVpnPlatform to use.
Defaults to MethodChannelFlutterVpn.
Implementation
static FlutterVpnPlatform get instance => _instance;
set
instance
(FlutterVpnPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterVpnPlatform when they register themselves.
Implementation
static set instance(FlutterVpnPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}