instance property
PmPlatform
instance
The default instance of PmPlatform to use.
Defaults to MethodChannelPm.
Implementation
static PmPlatform get instance => _instance;
Platform-specific implementations should set this with their own platform-specific class that extends PmPlatform when they register themselves.
Implementation
static set instance(PmPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}