instance property
SystemNetworkProxyPlatform
instance
The default instance of SystemNetworkProxyPlatform to use.
Defaults to MethodChannelSystemNetworkProxy.
Implementation
static SystemNetworkProxyPlatform get instance => _instance;
Platform-specific plugins should set this with their own platform-specific class that extends SystemNetworkProxyPlatform when they register themselves.
Implementation
// TODO(amirh): Extract common platform interface logic.
// https://github.com/flutter/flutter/issues/43368
static set instance(SystemNetworkProxyPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}