instance property

ExternalPathPlatform get instance

The default instance of ExternalPathPlatform to use.

Defaults to MethodChannelExternalPath.

Implementation

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

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

Implementation

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