instance property

KonnectedscanPlatform get instance

The default instance of KonnectedscanPlatform to use.

Defaults to MethodChannelKonnectedscan.

Implementation

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

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

Implementation

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