instance property

MoveToBgPlatform get instance

The default instance of MoveToBgPlatform to use.

Defaults to MethodChannelMoveToBg.

Implementation

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

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

Implementation

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