instance property
PathProviderPlatform
instance
The default instance of PathProviderPlatform to use.
Defaults to MethodChannelPathProvider
.
Implementation
static PathProviderPlatform get instance => _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;
}