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