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