instance property
PackageInfoPlatform
instance
Defaults to MethodChannelPackageInfo.
Implementation
static PackageInfoPlatform get instance => _instance;
Platform-specific plugins should set this with their own platform-specific class that extends PackageInfoPlatform when they register themselves.
Implementation
static set instance(PackageInfoPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}