instance property

AcdScannerPlatform get instance

The default instance of AcdScannerPlatform to use.

Defaults to MethodChannelAcdScanner.

Implementation

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

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

Implementation

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