instance property

The default instance of AppVersionDetailsPlatform to use.

Defaults to MethodChannelAppVersionDetails.

Implementation

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

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

Implementation

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