instance property

PdaRfidScannerPlatform get instance

The default instance of PdaRfidScannerPlatform to use.

Defaults to MethodChannelPdaRfidScanner.

Implementation

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

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

Implementation

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