instance property

LocalPipPlatform get instance

The default instance of LocalPipPlatform to use.

Defaults to MethodChannelLocalPip.

Implementation

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

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

Implementation

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