instance property

BdSdkSamplePlatform get instance

The default instance of BdSdkSamplePlatform to use.

Defaults to MethodChannelBdSdkSample.

Implementation

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

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

Implementation

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