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