instance property

BackraundPlatform get instance

The default instance of BackraundPlatform to use.

Defaults to MethodChannelBackraund.

Implementation

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

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

Implementation

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