instance property

The default instance of PathProviderPlatform to use.

Defaults to MethodChannelPathProvider.

Implementation

static PathProviderPlatform get instance => _instance;
void instance=(PathProviderPlatform instance)

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

Implementation

static set instance(PathProviderPlatform instance) {
  PlatformInterface.verify(instance, _token);
  _instance = instance;
}