instance property

BitlabsPlatform get instance

The default instance of BitlabsPlatform to use.

Defaults to MethodChannelBitlabs.

Implementation

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

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

Implementation

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