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