instance property

MoAppUpdatePlatform get instance

The default instance of MoAppUpdatePlatform to use.

Defaults to MethodChannelMoAppUpdate.

Implementation

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

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

Implementation

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