instance property

The default instance of ApplicationVersionPlatform to use.

Defaults to MethodChannelApplicationVersion.

Implementation

static ApplicationVersionPlatform get instance => _instance;
set instance (ApplicationVersionPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends ApplicationVersionPlatform when they register themselves.

Implementation

static set instance(ApplicationVersionPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}