instance property

The default instance of SdkSamplePluginPlatform to use.

Defaults to MethodChannelSdkSamplePlugin.

Implementation

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

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

Implementation

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