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