instance property

LigScannerSdkPlatform get instance

The default instance of LigScannerSdkPlatform to use.

Defaults to MethodChannelLigScannerSdk.

Implementation

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

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

Implementation

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