instance property

ProxyhttpPlatform get instance

The default instance of ProxyhttpPlatform to use.

Defaults to MethodChannelProxyhttp.

Implementation

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

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

Implementation

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